🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59976

Re: weird error compiling dvips

#59976
From: Andrew Lister
Date: Sun, 23 Jul 1995 00:00
31 lines
1983 bytes
Tom (kd6ozk@cts.com) wrote:
> Tony Nugent <T.Nugent@sct.gu.edu.au> wrote:

> >I'm using gcc 2.6.3 and trying to compile dvipsk-5.55a.

> >I run ./configure.  No problems.

> >I say make.  After a while I get this:

> >gcc -g   -o afm2tfm afm2tfm.o ../kpathsea/kpathsea.a   -lm
> >ld: Output file requires shared library `libc.so.4'
> >gcc: Internal compiler error: program ld got fatal signal 6
> >make[1]: *** [afm2tfm] Error 1

> >% ls -alF /lib/libc.*

> >lrwxrwxrwx 1 root root     14 Jun 14 05:36 /lib/libc.so.4 -> libc.so.4.6.27*
> >-rwxr-xr-x 1 root root 634880 Jun 14 05:36 /lib/libc.so.4.6.27*

> Where is ld looking for libc.so.4?  I've often seen errors like this, and it's
> usually (on my box) because the program I'm running isn't looking in the right
> place.  Try putting more links to /lib/libc.so.4 in, say, /usr/lib,
> /usr/local/lib, /usr/X11/lib, /var/lib, or where ever ld is looking.

Just add "-lc" to the link line so libc is linked as well.

-- 
Andrew Lister                                      Phone: +61 2 258 1757
DB Bain Group Services                             Fax:   +61 2 258 1000
lister@bain.oz.au
The opinions expressed are mine. The company doesn't listen to me anyway.
Technical Details
Message-ID: <1995Jul23.094823.19880@frost.bain.oz.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3ue256$aq8@ngriffin.itc.gu.edu.au> <DBz7Cr.5Bn@crash.cts.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c696,4ba1eaad0bfb3388
X-Google-Attributes: gid10c696,public
X-Google-Thread: 1103af,4ba1eaad0bfb3388
X-Google-Attributes: gid1103af,public
X-Google-Thread: 102983,4ba1eaad0bfb3388
X-Google-Attributes: gid102983,public
From: lister@frost.bain.oz.au (Andrew Lister)
Subject: Re: weird error compiling dvips
Date: 1995/07/23
Message-ID: <1995Jul23.094823.19880@frost.bain.oz.au>
X-Deja-AN: 106875252
references: <3ue256$aq8@ngriffin.itc.gu.edu.au> <DBz7Cr.5Bn@crash.cts.com>
organization: Bain & Company
followup-to: aus.computers.linux,comp.os.linux.misc,comp.os.linux.development.apps
newsgroups: aus.computers.linux,comp.os.linux.misc,comp.os.linux.development.apps