rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

Excalibur Xcalibur excalibur.xcalibur at gmail.com
Wed Jul 4 02:21:22 UTC 2007


Thanks Tony for the reply. But unfortunately it actually gave me a writing
error. Finally I did the following:

rpm2cpio elfutils-libelf-0.127-1.fc7.i386.rpm | cpio -idm '*.*'

Then I got a ./usr directory w/ the missing files. Then did a

sudo mv ./usr/lib/* /usr/lib

and it worked. Many thanks for all those who replied.

-- 
Excalibur

On 7/3/07, Tony Nelson <tonynelson at georgeanelson.com> wrote:
>
>  At 5:25 AM -0700 7/3/07, Excalibur Xcalibur wrote:
>
> Thanks Guys. But unfortunately, it still gives me:
>
> rpm2cpio: error while loading shared libraries: libelf.so.1: cannot open
> shared object file: No such file or directory
>
> cpio: premature end of archive
>
>
> Boot from the Rescue CD or Installer in Rescue mode, and do it from
> there.  Don't accept the chroot or you'll be using the missing libs again,
> just cd into the root.
> --
> ____________________________________________________________________
> TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
>       '                              <http://www.georgeanelson.com/>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070703/e87df701/attachment-0001.htm>


More information about the fedora-list mailing list