Restore ld-2.3.2-so : can I do this?
Ulrich Drepper
drepper at redhat.com
Tue Mar 15 01:06:56 UTC 2005
lin q wrote:
> 1) extract ld-2.3.2.so from Fedora Core CD, glibc RPM
> 2) use Knoppix to boot the PC
> 3) copy over ld-2.3.2.so
That'll work, but make sure the symlink /lib/ld-linux.so.2 points to the
right binary.
> 1) I see several glibc-2.3.2 RPM on the first CD of Fecora Core,
> glibc-common.2.3.2-101.i386.rpm, glibc-2.3.2-101.i386.rpm and
> glibc-2.3.2-101.i686.rpm.
Hopefully you used the i686 version. Almost no machine these days needs
the i386 version but mixing the i386 RPM and i686 ld.so can be fatal.
You can repeat the whole process, though.
> 2) How to extract a particular program from a rpm package?
Just use
rpm2cpio the-rpm-file | cpio -id
in an empty directory. Then copy the lib/ld-2.*.so file and remove the
rest.
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050314/06f02090/attachment-0001.sig>
More information about the fedora-list
mailing list