Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared
Hello All,
When i do anything that is related with RPM it gives me the following error [root@server ]# rpm rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory [root@server ]# rpm -Uvh rpm-4.0.4-7x.18.i386.rpm rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory Any Help Regards, Tina. |
So....
Do you have that libelf?
|
Hello,
I am on Redhat 7.3 and i installed the RPM package for Redhat 9.I compiled libelf.so.0 and it requires libelf.so.1 which i don't have. Regards, |
my version of rpm is staticly linked. could you try to get the RPM for your version of RPM and use the old RPM to install it ???
otherwise one trick is to make a link called libelf.so.1 and link to your old libelf.so.0, run ldconfig and see if its fooled. |
hello tina,
I ran into the same problem, when installing rpmbuild. Anyway, running Code:
/sbin/ldconfig Hope that helps. soeren Quote:
|
This worked for me:
Code:
sudo yum install compat-libstdc++-33.i386 I'm running CentOS 5. Cheers! Edit: My error was slightly different Code:
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory |
All times are GMT -5. The time now is 07:09 PM. |