On Mon, 24 Apr 2000 [EMAIL PROTECTED] wrote:
> 
> obliterates what was there before.  Do you still have libc-2.1.2.so?  I

No.  But I do have libc-2.1.3.so

I booted the old zipslack I had on hda.  How do ldd and ldconfig know
to reference the libraries on hdc2, rather than the ones on the
partition they were booted from?

I did the following from zipslack after mounting hdc2 on /mnt (hdc2
being the slackware 4 installation that is messed up.)

darkstar:/mnt/lib# ldd ./libc.so.5
ldd: ./libc.so.5 is not a.out or ELF
darkstar:/mnt/lib# v libc.so.5
lrwxrwxrwx   1 root     root           14 Apr 20 00:24 libc.so.5 -> 
libc.so.5.4.46*
darkstar:/mnt/lib# v libc.so.5.4.46
-rwxr-xr-x   1 root     root       272384 Oct  5  1998 libc.so.5.4.46*
darkstar:/mnt/lib#

darkstar:/mnt# /sbin/ldconfig -n /mnt/lib
/sbin/ldconfig: warning: /mnt/lib/libtermcap.so.2.0.8 
is not a shared library, skipping
/sbin/ldconfig: warning: /mnt/lib/libc.so.5 is not a shared library, skipping
/sbin/ldconfig: warning: /mnt/lib/libc.so.5.4.46 is not a shared library, 
skipping
/sbin/ldconfig: warning: /mnt/lib/libtermcap.so.2 is not a shared library, 
skipping
darkstar:/mnt#

darkstar:/mnt# /sbin/ldconfig -n /mnt/usr/lib
/sbin/ldconfig: warning: can't open /mnt/usr/lib/libc.so.1 
(No such file or directory), skipping
darkstar:/mnt#

I tried booting hdc2 again and found this:
sh: /lib/libtermcap.so.2 is not an ELF file
sh: can't load library 'libtermcap.so.2'
then, messages about respawning too fast and waiting 5 minutes.

Thanks,
Kurt



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to