On Mon, 11 Nov 2002 07:24:56 +0000, Pigeon <[EMAIL PROTECTED]>
wrote:

>On 10 Nov 2002 18:48:44 -0600, Elizabeth Barham
><[EMAIL PROTECTED]> wrote:
>
>>Pigeon <[EMAIL PROTECTED]> writes:
>>
>>> I can boot using my install CD, unpack the .deb manually and copy *.so
>>> to /usr/lib. But of course ldconfig is broken too, so I can't tell the
>>> machine its libraries are back.
>>> 
>>> Please can someone tell me how to do ldconfig's job by hand...
>>
>>Try using the rescue disk. If it has dpkg, you could mount your HDD
>>filesystem on, say /target, use dpkg with the --root option and then
>>chroot into /target and run ldconfig.
>>
>>Elizabeth
>
>Nah - no luck. Rescue disk has no dpkg. It's the same as the boot
>image you get in the Debian 2.1 single CD.
>
>I tried copying /lib/* and /etc/ld.so.cache from the rescue disk to
>the hard drive. Now the kernel can find init, but it still gets an
>error loading shared libraries - undefined symbol: stderr - and panics
>(unsurprisingly). Same with rescue 2.2.12 kernel and my 2.4.18.
>
Am I right in thinking that all ldconfig does is update the symlinks
and /etc/ld.so.c[ache|onf]? If so, isn't all I need to know, what is
the binary data at the beginning of /etc/ld.so.cache, and how to
calculate it?
I'm also limited in my ability to experiment because the Linux box is
too broken to run tar/gzip so I can't unpack debs from my CD to
restore stuff from. ar still works, and WinZip can handle .tar.gz
format, so it's sort of possible with a lot of rebooting to swap OS.
Is there a Win98 archiver that can unpack debs?

Pigeon


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to