![Sphinx:需要 libmysqlclient.so.15(libmysqlclient_15)(64bit)](https://linux22.com/image/570987/Sphinx%EF%BC%9A%E9%9C%80%E8%A6%81%20libmysqlclient.so.15(libmysqlclient_15)(64bit).png)
找不到安装 sphinx 的方法。它要求 libmysqlclient.so.15,我有这个……我还能做什么?
这是我已经尝试过的
[root@server1 ~]# rpm -ivh sphinx-2.0.3-1.el5.x86_64.rpm
error: Failed dependencies:
libmysqlclient.so.15()(64bit) is needed by sphinx-2.0.3-1.rhel5.x86_64
libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by sphinx-2.0.3-1.rhel5.x86_64
[root@server3 hooks]# ls -l /usr/lib64/libmysqlclient.so*
lrwxrwxrwx 1 root root 20 Jun 29 09:57 /usr/lib64/libmysqlclient.so -> libmysqlclient.so.18
-rwxr-xr-x 1 root root 1474856 Dec 24 01:37 /usr/lib64/libmysqlclient.so.15
lrwxrwxrwx 1 root root 24 Jun 29 09:57 /usr/lib64/libmysqlclient.so.18 -> libmysqlclient.so.18.0.0
-rwxr-xr-x 1 root root 6853576 May 11 2011 /usr/lib64/libmysqlclient.so.18.0.0
[root@server3 hooks]# ls -l /usr/lib/libmysqlclient.so*
lrwxrwxrwx 1 root root 28 Jan 12 2010 /usr/lib/libmysqlclient.so -> /usr/lib64/libmysqlclient.so
lrwxrwxrwx 1 root root 26 Dec 24 12:18 /usr/lib/libmysqlclient.so.15 -> /usr/lib/libmysqlclient.so
lrwxrwxrwx 1 root root 20 Dec 24 12:22 /usr/lib/libmysqlclient.so.18 -> libmysqlclient.so.15
答案1
根据狮身人面像论坛尝试以下步骤:
尝试安装Mysql-共享-兼容如果有的话
从以下位置安装旧的 centos 5 mysqlclient15 rpm雷米才能让这个工作顺利进行。
答案2
我搜索了很多,但没有找到任何解决 libmysqlclient.so.15 问题的方法。根据这一页唯一的解决方案是从源代码安装。