error while loading shared libraries: libmemcached.so.11: cannot open shared object file: No such fi
2015-03-14 19:21
459 查看
error while loading shared libraries: libmemcached.so.11: cannot open shared object file: No such file or directory
出现上述错误一般是没有设置memcached环境变量
运行过程中,需要将libmemcached.so文件所在目录加入到变量LD_LIBRARY_PATH中,即export LD_LIBRARY_PATH=/usr/local/libmemcached/lib:$LD_LIBRARY_PATH,否则运行时会提示类似错误
一定要保证包含目录路径是正确的!
在.bashrc文件中添加目录!
如果不知道在那个目录,直接locate 文件名,即可找到。
转自:http://www.jsjtt.com/xitongyingyong/linux/57.html
出现上述错误一般是没有设置memcached环境变量
运行过程中,需要将libmemcached.so文件所在目录加入到变量LD_LIBRARY_PATH中,即export LD_LIBRARY_PATH=/usr/local/libmemcached/lib:$LD_LIBRARY_PATH,否则运行时会提示类似错误
一定要保证包含目录路径是正确的!
在.bashrc文件中添加目录!
如果不知道在那个目录,直接locate 文件名,即可找到。
转自:http://www.jsjtt.com/xitongyingyong/linux/57.html
相关文章推荐
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such file or directory
- error while loading shared libraries: libevent-1.3e.so.1: cannot open shared object file: No such fi
- mkubimage-mlc2: error while loading shared libraries: liblzo2.so.2: cannot open shared object file: No such file or directory
- 错误解决error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libboost_thread.so.1.49.0: cannot open shared object file: No
- error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such fi
- error while loading shared libraries: libevent-1.3.so.1:cannot open shared object file :No such file or directory解决方法
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
- 报错 mysql: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
- 运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
- sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
- 共享库问题[gtest] _error while loading shared libraries: libgtest.so.0: cannot open shared object file: No such file or directory
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such file or directory
- 解决Linux: error while loading shared libraries: ...: cannot open shared object file: No such file or directory 类似问题
- error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or
- error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file.....
- error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file
- error while loading shared libraries: libperl.so: cannot open shared object file: No such file or di