Jared Rypka-Hauer wrote:
> Did you get it working yet, Stephen?
>
> BREATHE!!!!
>
> OK, now, if you know where /lib is, and you know where /bin is, then type
> this:
> /bin/mv {wherever /lib is} /lib
>
> Alternately, if that don't work for some crazy Linux-bashing reason, you
> should be able to boot with a rescue disk.
At least on RH systems, /bin/mv won't work if /lib is missing as it's
dynamicly linked to various things in /lib
i.e.
ldd /bin/mv
linux-gate.so.1 => (0xffffe000)
libacl.so.1 => /lib/libacl.so.1 (0x49712000)
libc.so.6 => /lib/tls/libc.so.6 (0x41a2f000)
libattr.so.1 => /lib/libattr.so.1 (0x41b6a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x41a17000)
--
I don't know if other distributions are as agressively dynamic linked
as RH systems appear to be, but I suspect this is common.
It's rescue CD time.
The only thing I can think of that would make the system work with out
a rescue disk would be to some how append the current path to the
'moved' library files to /etc/ld.so.conf and run ldconfig, so the
dynamic linker can find the libraries again, but /bin/cat is dynamicly
linked as well so appending anything may be itself a challenge and I
have a vague idea that the ld.so.conf path searching is actually done by
/lib/ld-linux.so anyway...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3846
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54