错误:需要:libmysqlclient.so.16(libmysqlclient_16)(64位)

时间:2014-01-23 18:11:06

标签: centos6

我想在Centos 6.4上安装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

1 个答案:

答案 0 :(得分:2)

您只需要安装MySQL compat包,它将提供libmysqlclient.so.16

转到http://dev.mysql.com/downloads/mysql/并将平台选择器更改为RedHat Enterprise Linux并查找“Red Hat Enterprise Linux 6 / Oracle Linux 6(x86,64位),RPM套餐 兼容性库“

安装完成后,即可安装Sphinx。