LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   RPM - rpm: error while loading shared libraries: librpm-4.4.so (https://www.linuxquestions.org/questions/linux-general-1/rpm-rpm-error-while-loading-shared-libraries-librpm-4-4-so-512261/)

Yihya 12-20-2006 09:50 AM

RPM - rpm: error while loading shared libraries: librpm-4.4.so
 
Hi all
i have a serios problem with rpm, i have no rpm package or yum in my pc i have tried to reinstall rpm to be able to install yum i have searched the net but i couldn't find the source files of rpm does anyone know where i can found them.
and there is another problem i have download the rpm 4.4.2 pacakge but whenn i run it i get the following error


[root@yazan /]# rpm
rpm: error while loading shared libraries: librpm-4.4.so: cannot open shared object file: No such file or directory
[root@yazan /]#

xpromisex 12-20-2006 12:09 PM

To rectify that error, I would do:

Code:

#locate -U
#locate librpm

This will return all instances of 'librpm' on your computer. then you can create a symbolic link to librpm-4.4.so in a folder in your path (most likely /var/lib, /usr/share/lib, or something similar.) To find out what directories are in your current path you can issue 'echo $PATH'. Be aware though that you must login as root, not simply su over to root (unless you use the '-' switch as in 'su -')

I know that this is probably confusing, post back if you need some help.

trickykid 12-20-2006 12:18 PM

Moderator Note: Changed Thread Title. Please do not mark or use titles with just "Urgent" in them. They are undescriptive, crappy and do nothing to speed up your replies as this is a free open forum, no thread has priority over any other.

xpromisex 12-20-2006 12:29 PM

Thanks trickykid - forgot to say something about that in my post.


All times are GMT -5. The time now is 01:37 AM.