Problems installing Sphinx in Cpanel/WHM, missing dependencies

Jull Weber

Registered
Aug 1, 2015
3
0
1
Los Angeles
cPanel Access Level
Root Administrator
I've tried every which way installing Sphinx with yum as well as doing rpm -Uvc with a
local download.

And it always returns these errors:

Error: Package: sphinx-2.2.10-1.rhel6.i386 (/sphinx-2.2.10-1.rhel6.i386)
Requires: libmysqlclient.so.16(libmysqlclient_16)
Error: Package: sphinx-2.2.10-1.rhel6.i386 (/sphinx-2.2.10-1.rhel6.i386)
Requires: libmysqlclient.so.16

I can see that I have these files are located at /usr/lib64/libmysqlclient.so.16, but it
keeps throwing this error. I read that I was missing MySQL-community-libs-compat files,
but MySQL installation is handled through cpanel.

I had previously installed Sphinx 2.2.9 wiht no issues, and went ahead and removed it to
upgrade. Now I can't install anything. No Bueno!

Can anyone help??
 

Jull Weber

Registered
Aug 1, 2015
3
0
1
Los Angeles
cPanel Access Level
Root Administrator
Ok I tried this, and it installed but now it won't start the service. I get this error:

Starting searchd: /usr/bin/searchd: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
[FAILED]

Looks like it is still not accessing the libraries and it needs them to start. Maybe sphinx needs to be directed to this folder? I'm attaching the pic.

Most places I've read it says this means its missing the libraries, but I can see them.
 

Attachments

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
It's possible a symbolic link from the path it's expecting to the actual library would help, but since it's a third-party application, you should seek feedback on their support forums at:

Sphinx | Open Source Search Server

It looks like an active forum so you should receive a response.

Thank you.