Skip to content
Advertisement cannot open shared object file – but library is installed and up-to-date

My client had some developer write a small c++ command-line app to run on their Linux servers. On one of the servers (running Fedora 11), when I execute the app I get the following error:

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

Obviously the first thing I did was

yum install libstdc++

But I get

Package libstdc++-4.4.1-2.fc11.x86_64 already installed and latest version

So the library already exists and is up-to-date. Usually to me these errors indicate a missing library. So where should I look next?



libstdc++-4.4.1-2.fc11.x86_64 installs You need the compat-libstdc++-33-3.2.3-66.x86_64 package to get (Do not symlink! and are incompatible.)

3 People found this is helpful