sphinx 运行出现 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object
来源:互联网 发布:生产者消费者模式 php 编辑:程序博客网 时间:2024/04/24 17:39
当运行sphinx出现这种错误,或运行别的命令出现如此错误的原因:
处理方法:
64位系统ln -s /usr/local/webserver/mysql/lib/mysql/libmysqlclient.so.16.0.0 /usr/lib64/libmysqlclient.so.16
32位系统ln -s /usr/local/webserver/mysql/lib/mysql/libmysqlclient.so.16.0.0 /usr/lib/libmysqlclient.so.16
在/etc/ld.so.conf里面加入下面:
/usr/local/mysql/lib/mysql
#以上为libmysqlclient.so.16.0.0在mysql的路径。
然后用ldconfig重新加载下库文件。
- sphinx 运行出现 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such
- PHP: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No
- error while loading shared libraries: libmysqlclient.so.16: cannot open
- error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: 的解决办法
- error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such
- ./indexer: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object fil
- ./bin/logServer: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or dir
- 解决:CentOS下的 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object fi
- 运行so文件时,出现error while loading shared libraries: libjvm.so: cannot open shared object file...
- 运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file
- caffe出现error while loading shared libraries: libopencv_core.so.3.1: cannot open shared object file:
- centos 下运行程序出现error while loading shared libraries cannot open shared object file错误
- error while loading shared libraries: libmysqlclient_r.so.16: cannot open shared object file: No suc
- error while loading shared libraries cannot open shared object file
- error while loading shared libraries| cannot open shared object file
- Error While Loading Shared Libraries, Cannot Open Shared Object File
- oracle exp/imp
- Above the Clouds: A Berkeley View of Cloud
- CodeForce 78 Div2
- c++ 原来我一直没写对双目运算符函数
- 编程与生活
- sphinx 运行出现 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object
- POJ 1273
- 2011.7.22
- Hibernate关联关系映射-----单向多对一映射配置
- 如何发表源代码帖
- 解决不能下载Xcode的办法
- TAOWEN的闲言碎语___Python完全新手教程
- 一个值得纪念的日子
- 24岁的程序员