1

Can't find a way to install sphinx. It's asking for libmysqlclient.so.15, which I have... What else can i do?

This is what I've tried already

[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
Crazy_Bash
  • 227
  • 1
  • 4
  • 9

2 Answers2

2

according to a post in the sphinx forum try the follwing:

Try installing the Mysql-shared-compat if there is one

install the old centos 5 mysqlclient15 rpm from remi to make this work.

Hanan N.
  • 378
  • 5
  • 16
0

I have searched a lot but didn't get any solution for libmysqlclient.so.15 problem. According to this page the only solution is to install from source.

mgorven
  • 30,036
  • 7
  • 76
  • 121
  • Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Scott Pack Oct 19 '12 at 22:49