I'm running CentOS 5.7 and trying to install Sphinx Search but keep receiving missing dependency errors.

$ yum install sphinx
Error: Missing Dependency: libmysqlclient.so.15 is needed by package sphinx- (epel)
Error: Missing Dependency: libmysqlclient.so.15(libmysqlclient_15) is needed by package sphinx- (epel)

I have libmysqlclient.so.16 as part of MySQL / MySQL-devel.

My Question: Is there a way to have v15 and v16 of libmysqlclient.so installed on the same system and if so how would I go about it?

I've searched high and low and can't seem to find an answer; hopefully some on here can help.

Thank you!


install the shared-compat package, and attempt to reinstall the dependencies.


Install the remi repository:


Enterprise Linux 6 (with EPEL) i386 or 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

then install compat-mysql51

yum --enablerepo=remi install compat-mysql51

now install sphinx from rpm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.