Thursday, December 9, 2010

Error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

This error comes while installing some applications in Fedora.
It comes because libstdc++.so.5 is installed in other library folders, rather than /usr/lib. If you make symbolic link to /usr/lib from the folder where libstdc++.so.5 is installed. It's solved.

Dommand

ln -s /opt/gcc33/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5

Remember that in my computer /opt/gcc33 is the folder where I have installed new gcc. It can be different in your computer. Just search the libstdc++.so.5.

No comments: