Re: Restore ld-2.3.2-so : can I do this?

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

 



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 â

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux