[CentOS 5.4] error while loading shared libraries

Today I got an error like this one:

引用

error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory


After checking the system, I found lame is properly installed. The only possibility is this library can't be found. A simple link should solve the problem.

引用

ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0

猜你喜欢

转载自silverring.iteye.com/blog/797714