Compiler Error -- doesn't find shred library 'libc.so.4'

Compiler Error -- doesn't find shred library 'libc.so.4'

Post by Hyun J. K » Wed, 27 Sep 1995 04:00:00



I am having a problem compiling several differnt files.

When I use this command 'gcc -g *.o -lm', there is an error message:

ld: output file requires shared library 'libc.so.4'
gcc: internal compiler error: program ld got fatal signal 6

When I compile it using 'gcc *.o -lm', it compiles and creates a.out file
without any problem.

When I checked the /lib directory, libc.so.4 was linked to libc.so.4.27

If you know what the problem might be, please e-mail me.

Thanks

Hyun

 
 
 

Compiler Error -- doesn't find shred library 'libc.so.4'

Post by Mitch DSou » Wed, 27 Sep 1995 04:00:00



-->I am having a problem compiling several differnt files.
-->
-->When I use this command 'gcc -g *.o -lm', there is an error message:
-->  
-->ld: output file requires shared library 'libc.so.4'
-->gcc: internal compiler error: program ld got fatal signal 6
-->
-->When I compile it using 'gcc *.o -lm', it compiles and creates a.out file
-->without any problem.
-->
-->When I checked the /lib directory, libc.so.4 was linked to libc.so.4.27
-->
-->If you know what the problem might be, please e-mail me.
-->

GCC-FAQ on ftp.mrc-apu.cam.ac.uk /pub/linux/GCC-FAQ.html or URL
ftp://ftp.mrc-apu.cam.ac.uk/pub/linux/GCC-FAQ.html

Mitch

 
 
 

1. Can't find library 'libc.so.4' ???

What kind of error is this???

It seems all the commands need to reference this library file.  But I
don't know why this would happen all-of-a-sudden.

I was only updating some files in /usr/bin, /usr/sbin /usr/local/bin
and none in /usr/lib....


Erik Lindquist
Systems Administrator
Atomic Energy of Canada Ltd.
Whiteshell  Laboritories
Pinawa, Manitoba

2. playing streaming audio off web (.asx)

3. init: can't find library 'libc.so.4'

4. HOW CHANGE FILE DATE??

5. Slackware 2.1.0: init: can't find library 'libc.so.4' - Help

6. web filter

7. dip: can't find library 'libc.so.4'

8. San Francisco Bay Area GNU Picnic, Sat 15 July 1995

9. "Can't find shared library 'libc.so.3.0'"

10. help for error: can't find library libc.so.4

11. ld: Output file requires shared library 'libc.so.4' : error

12. BUG: 'tar +help' doesn't work with libc.so.4.4!!

13. ``Output file requires shared library `libc.so.4' ''