Total Pageviews

Sunday 14 October 2012

libprofiler.so.0: cannot open shared object file: No such file or directory的解决方法

libprofiler.so.0这个文件应该安装在 /usr/local/lib 或 /usr/lib. Copying it to the same directory where your binary resides is useless (as you've already discovered).
使用下面命令来刷新共享目录缓存
# /sbin/ldconfig

Setting LD_LIBRARY_PATH should not be necessary (unless you have very non-standard glibc installation)