[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] need statically linked



>but now nothing that is dynamically linked in /bin works, including cp, ln,
>mv, ... so i can't do anything.

/lib is something you really shouldnt of moved, and yes it is abit late now :/

NB: Dont reboot, otherwise you may well be looking at a reinstall.

You should be able to get the others commands working again if you use LD_PRELOAD to get the libraries loaded manualy.

LD_PRELOAD=/home/lib/ld-linux.so.2 /bin/ls

Should work, if not then you may also need to load ld-linux + libc

LD_PRELOAD=/home/lib/ld-linux.so.2:/home/lib/libc.so.6 /bin/ls

First thing you might want to do is move the /home/lib directory back where it came from step back and drink lots of espresso :)

ChrisB.

--
Tyneside Linux User Group
http://www.tyneside.lug.org.uk