libmysqlclient.so.15: cannot open shared object file: No such file or directory
2014-01-07 16:10
393 查看
错误:
./mafsInRegion: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
解决方法:
1.下载 libmysqlclient.so.15 或是拷贝 libmysqlclient.so.15 到 /usr/lib (32位) 、/usr/lib64 (64位)
以64位centos为例:
下载地址 http://files.directadmin.com/services/es_5.0_64/libmysqlclient.so.15
#cd /usr/lib64
#wget http://files.directadmin.com/services/es_5.0_64/libmysqlclient.so.15
2.给libmysqlclient.so.15加x权限
#chmod 755 /usr/lib64/libmysqlclient.so.15
3.重新载入ldconfig
#ldconfig
./mafsInRegion: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
解决方法:
1.下载 libmysqlclient.so.15 或是拷贝 libmysqlclient.so.15 到 /usr/lib (32位) 、/usr/lib64 (64位)
以64位centos为例:
下载地址 http://files.directadmin.com/services/es_5.0_64/libmysqlclient.so.15
#cd /usr/lib64
#wget http://files.directadmin.com/services/es_5.0_64/libmysqlclient.so.15
2.给libmysqlclient.so.15加x权限
#chmod 755 /usr/lib64/libmysqlclient.so.15
3.重新载入ldconfig
#ldconfig
相关文章推荐
- 查找共享库路径是失败,“cannot open shared object file: No such file or directory”解决方法
- tensorflow安装所遇问题:libcudnn.so.6:cannot open sharedobject file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法
- 10g安装提示“libXp.so.6: cannot open shared object file: No such file or directory ”
- ubuntu动态链接库连接出错 cannot open shared object file: No such file or directory
- 【Ubuntu 64bit】libz.so.1: cannot open shared object file: No such file or directory 【Android NDK】
- error while loading shared libraries: libmysqlcppconn.so.7: cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- Error loading MySQLdb module: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory
- libopencv_nonfree.so.2.4: cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- ImportError: libghmm.so.1: cannot open shared object file: No such file or directory 解决方案
- libiconv.so.2: cannot open shared object file: No such file or directory
- Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directory
- libclntsh.so.12.1: cannot open shared object file: No such file or directory
- libhiredis.so.0.13: cannot open shared object file: No such file or directory in Unknown on line
- TensorFlow安装之后导入报错:libcudnn.so.6:cannot open sharedobject file: No such file or directory
- 装SNORT碰到cannot open shared object file: No such file or directory
- libstdc++.so.5: cannot open shared object file: No such file or directory