我想在Centos 6.4上安装sphinx,但是我得到了错误。我能做些什么才能安装sphinx?我到处寻找,但只能发现我需要重新安装mysql (是的,这不是我要找的。另外,重新安装VPS也不是一个好的解决方案;-)
[root@server01 src]# yum install --nogpgcheck sphinx-2.1.5-1.rhel6.x86_64.rpm
---------------------
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: sphinx-2.1.5-1.rhel6.x86_64
--> Finished Dependency Resolution
**Error: Package: sphinx-2.1.5-1.rhel6.x86_64 (/sphinx-2.1.5-1.rhel6.x86_64)
Requires: libmysqlclient.so.16()(64bit)
Error: Package: sphinx-2.1.5-1.rhel6.x86_64 (/sphinx-2.1.5-1.rhel6.x86_64)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)**
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest发布于 2014-02-20 09:53:02
您只需要安装MySQL compat包,它将提供libmysqlclient.so.16
转到http://dev.mysql.com/downloads/mysql/并将平台选择器更改为Compatibility,然后查找"Red Hat Enterprise Linux6/ Oracle Linux6 (x86,64位),RedHat包兼容性库“
安装完成后,就可以安装Sphinx了。
https://stackoverflow.com/questions/21316120
复制相似问题