Needed: ld's /usr/lib/crt0.o

Needed: ld's /usr/lib/crt0.o

Post by Mark R. Linds » Thu, 07 Oct 1993 03:32:57

I installed the 'REQ' packages for the SLS GNU C/C++, but I get the following
error when attempting to compile. Note the test program.

/> cat tst.c
#include <stdio.h>
main() {


/> gcc tst.c
ld: No such file or directory for crt0.o

I'm not very experienced with ld or even C, but I don't have /usr/lib/crt0.o,
as the man pages for gcc and this error imply I should.

I've installed the following packages:

base      devs      gxx245    joe       man2      quota     term107
bc        efs2      gxxinc24  keytbls   modules   select14  usrbin4
bin       elfabi    gzip101   lilo      mount     shadow    uucp104
bin4      etc       gzip123   lxpatch   mt        shlibs    vgalib
binutils  faq       image     mailx     national  smail     zafix
comms     gcc245    inc442    make      perl      sysadm    zcfix
cpio22a   getty     ipcdelta  man       ps        syslogd   zoneinfo

If you have crt0.o, or know what package it's in or should have been in,
please mail me details or the file, uuencoded.


 - Mark R. Lindsey


1. Need Help on "crt0: no /usr/lib/" Problem

Dear netters:

        I have the problem that when users logged into our SUN Sparc2
machine with SUNOS 4.1.1 there is always the message:

        crt0: no /usr/lib/

and it just refused users to log in. However, superuser can always log in
without any problem.  I check the file "" and it does exist:

        -r-xr-xr-x   1 root     40960 April 13 10:00

Could anybody there tell me what to do? Thanks in advance.

Sincerely yours,

Erh-Chung  Ke

CIE Labtorary
National Tsing-Hua Universty
Hsin-Chu, Taiwan, R.O.C.

2. It's official: Microsoft's strategy against Linux (leaked memo)

3. Need Help after moving /usr/lib - can't find

4. How to display IRIX windows?

5. /usr/lib/gcc-lib/i386-linux and /usr/lib/gcc-lib/i486-linux

6. funai cdrom driver

7. crt0: ERROR couldn't open /usr/lib/ errno:000000024

8. I lost my 'lost+found' directory!

9. What's the meaning of /usr/lib/crt0.o?

10. Port Make Error: /usr/libexec/ /usr/lib/ Undefined symbol

11. HELP We Need the file /usr/lib/

12. ld: fatal: file /usr/lib/ version `SUNW_1.3' does not exist

13. /lib/ld: cache 'LD.SO.CACHE' is corrupt (or equivelent)