Need Help after moving /usr/lib - can't find ld.so.1

Need Help after moving /usr/lib - can't find ld.so.1

Post by Clinton Car » Sat, 08 Jul 2000 04:00:00



I moved /usr/lib to /space/lib to free up some space on /.  Now most
commands will not work because they can't find ld.so.1.  How can I do a soft
link to /space/lib from /usr/lib?  I'm runnin 5.8.

Thanks,

 
 
 

Need Help after moving /usr/lib - can't find ld.so.1

Post by Phil Edwar » Sat, 08 Jul 2000 04:00:00


+ I moved /usr/lib to /space/lib to free up some space on /.  Now most
+ commands will not work because they can't find ld.so.1.  How can I do a soft
+ link to /space/lib from /usr/lib?  I'm runnin 5.8.

If you've installed the SUNWsutl package, look in /usr/sbin/static for a
couple of statically-linked utilities, including ln(1).

This was not a wise decision, but I suppose that wisdom comes from making
mistakes like these.  :-) You should consider repartitioning.  The symlink
will work for a while but will eventually bite you.

Phil

 
 
 

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

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.

Thanks.

 - Mark R. Lindsey

2. Securing our appplications at our clients

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

4. IRQ clash with > 2 serial ports

5. HELP We Need the file /usr/lib/ld.so.1

6. Is there a XF86_S3 for S3-964 ?

7. Need Help on "crt0: no /usr/lib/ld.so" Problem

8. NEW Rev 1.3/Celeste's Tutorial on Solaris 2.x Modems & Terminals

9. Cannot find /usr/lib/ld.so.1

10. Port Make Error: /usr/libexec/ld-elf.so.1: /usr/lib/libkvm.so.2: Undefined symbol

11. ld: fatal: file /usr/lib/librt.so.1: version `SUNW_1.3' does not exist

12. Doom can;t find '/lib/ld.so'