错误:
./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
关键字词: