Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Problems installing Sphinx in Cpanel/WHM, missing dependencies

Discussion in 'General Discussion' started by Jull Weber, Apr 14, 2016.

  1. Jull Weber

    Jull Weber Registered

    Joined:
    Aug 1, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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??
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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:

    Code:
    rpm -Uvh --nodeps hxxp://url.to.rpm
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jull Weber

    Jull Weber Registered

    Joined:
    Aug 1, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     

    Attached Files:

  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice