Problems installing Sphinx in Cpanel/WHM, missing dependencies
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??
-
Hello :) You could install the RPM directly with the "--nodeps" flag to skip the required MySQL dependency: Sphinx 2.2.10-release downloads | Sphinx EX: rpm -Uvh --nodeps hxxp://url.to.rpm
Thank you.0 -
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. 0 -
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. 0
Please sign in to leave a comment.
Comments
3 comments