2014-01-23 59 views
1

我想在Centos 6.4上安装sphinx,但是出现错误。 我能做些什么,所以我可以安装狮身人面像?我身边有searcged但只能找到我需要重新安装MySQL的(是的,这是不是我要找的。而且重新安装VPS是不是一个很好的解决方案;-))错误:需要:libmysqlclient.so.16(libmysqlclient_16)(64位)

[[email protected] 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 

回答

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。