rpm problem

Alan Cox alan at redhat.com
Fri Jun 23 15:05:20 UTC 2006


On Fri, Jun 23, 2006 at 03:24:42PM +0100, Paul wrote:
> When I try to install something all I get it that libelf is missing.
> I've downloaded the rpms from the fedora ftp site, but can't seem to
> open them with archive manager.

Probably because libelf is missing.

> How can I extract the wholesome goodness from the rpms to repair this
> problem (I'm just going to pop the libs into whereever they should be
> and run ldconfig)?

rpm2cpio

Or what I normally do when I do this (and playing with disk driver debugging
is a good way to do it) is to take another box with the same FC release and do


mount USB stick
cp missing libraries from /lib /usr/lib ..
umount USB stick

mount on broken box
export LD_LIBRARY_PATH=/mnt/myusbstick:$LD_LIBRARY_PATH
(or add the path to /etc/ld.so.preload)





More information about the test mailing list