我正在运行CentOS 5.7,并试图安装Sphinx Search,但不断收到依赖错误。
$ yum install sphinx ... Error: Missing Dependency: libmysqlclient.so.15 is needed by package sphinx-0.9.8.1-3.el5.i386 (epel) Error: Missing Dependency: libmysqlclient.so.15(libmysqlclient_15) is needed by package sphinx-0.9.8.1-3.el5.i386 (epel) ....
我有libmysqlclient.so.16作为MySQL / MySQL-devel的一部分。
我的问题:有没有办法在同一个系统上安装libmysqlclient.so的v15和v16,如果有的话,我该怎么办?
我search了高低,似乎无法find答案; 希望有一些在这里可以帮助。
谢谢!
安装shared-compat包,并尝试重新安装依赖项。
安装remi存储库:
http://blog.famillecollet.com/pages/Config-en
Enterprise Linux 6(带EPEL)i386或x86_64
wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
然后安装compat-mysql51
yum --enablerepo=remi install compat-mysql51
现在从rpm安装sphinx