Showing results for 
Search instead for 
Did you mean: 

Re: Install package problem

Go to solution
Son dam bi

Install package problem

When I tried to run a package on RH system, it pops the below messages ,

"error while loading shared libraries: cannot open shared object file: No such file or directory"

I found that , in my system , only have below version of library .


It seems the current version is newer than the package requires , can advise what can I do ? downgrade the library to is suitable ? any risk ? thx

p.s. I can use yum / apt-get as the server is not allow to connect internet .
Goran Koruga
Honored Contributor

Re: Install package problem


You should not downgrade anything, but check if any of the compat-libstdc++ packages provide this library.

Or better yet, recompile whatever is needing this version with a newer version of the compiler.

Son dam bi

Re: Install package problem

thx reply,

I find the compat-libstdc++-7.3-2.96.118.i386.html package ,

is it the compatible version of libstdc ? should I install it ? if it ask to downgrade any library when installing , then should I downgrade it ? thx
dirk dierickx
Honored Contributor

Re: Install package problem

i'm not sure what you are installing, but i have never seen rpm/up2date/yum ask me to DOWNGRADE anything.

the error in your original post just says a certain file (a library in this case) is missing. it doens't tell you to downgrade.

there 2 possibilities here:

1. you are installing some package which is not build for the RH distrobution you are installing it on. this important, do not install a package for RH2.1 on RH5 or a fedora package on a RH system!

2. you are missing some packkages, most likely it would be the 'compat' rpm's.
Kapil Jha
Honored Contributor

Re: Install package problem

You should download the rpm again with all dependencies, i suppose.
Downgrade is actually never been a good option it can hurt you hard.

I am in this small bowl, I wane see the real world......
Frequent Advisor

Re: Install package problem


The current compat-libstdc++ on your system is definitely higher than the compat-libstdc++-7.3-2.96.118.

There might be some packages on your system depend on the current libraries. If that is the case then you don't want to install compat-libstdc++-7.3-2.96.118 which will downgrade current libraries.

As Goran Kogura suggested, try to find the RPM source of the package that you want to install and compile it on your current system then install it.

Good luck.