Article View: gnu.gcc.help
Article #42381Re: lib.so problems
From: Will Ware
Date: Sat, 16 Dec 1995 00:00
Date: Sat, 16 Dec 1995 00:00
32 lines
2008 bytes
2008 bytes
Andrew W. Sudbury (andrew@hell.cafeliberty.com) wrote: : gcc -I/usr/include/tcl/ -L/usr/X11/lib/ -L/lib/ Foolink.c Fwm_Init.o : -lX11 -ltcl -ltk : the comiler (well ld) then chokes with: : ld: Output file requires shared library `libX11.so.6' : gcc: Internal compiler error: program ld got fatal signal 6 I'm getting the same thing (except with libc.so.4). I'm having some trouble compiling Guile, and I hope somebody will be able to help me. Per the instructions in the INSTALL file, I set up two directories called =build and =inst. I ran into trouble trying to compile the "guile" executable in the =build/guile directory, while trying to link. This is on a Linux box running the Slackware 1.2.13 kernel. gcc -g -I. -L../libguile -I../libguile -L../goonix -L../ctax -o guile guile.o -lgoonix -lctax -lguile -lm ld: Output file requires shared library `libc.so.4' gcc: Internal compiler error: program ld got fatal signal 6 make: *** [guile] Error 1 It looks to me like 'ld' can't find 'libc.so.4'. I tried to assist it by putting symbolic links in every place I thought 'ld' might look, including /usr/lib, =build/guile, and =build/libguile, to no avail. I then tried using 'libc.so.4' as a command line argument in the link command, in various ways, again with no luck. I'm out of ideas. Any clues? Thanks in advance. -- ------------------------------------------------------------- Will Ware <wware@world.std.com> web <http://world.std.com/~wware/> PGP fingerprint 45A8 722C D149 10CC F0CF 48FB 93BF 7289
Technical Details
Message-ID:
<DJorCw.CpM@world.std.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<199512151353.IAA01309@hell.cafeliberty.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f6324a040313e823 X-Google-Attributes: gid11318c,public From: wware@world.std.com (Will Ware) Subject: Re: lib.so problems Date: 1995/12/16 Message-ID: <DJorCw.CpM@world.std.com> X-Deja-AN: 122048554 distribution: gnu references: <199512151353.IAA01309@hell.cafeliberty.com> organization: The World Public Access UNIX, Brookline, MA newsgroups: gnu.gcc.help