The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page