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.

cannot install sphinx search

Discussion in 'General Discussion' started by cornernote, Jun 12, 2014.

  1. cornernote

    cornernote Member

    Joined:
    Nov 9, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I first tried
    Code:
    yum install sphinx
    , however it gives this error:

    Code:
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * epel: mirror.web24.net.au
     * extras: mirror.ventraip.net.au
     * rpmforge: mirror.ventraip.net.au
     * updates: mirror.rackcentral.com.au
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package sphinx.i386 0:0.9.9-1.el5.rf set to be updated
    --> Processing Dependency: libmysqlclient.so.15 for package: sphinx
    --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: sphinx
    --> Processing Dependency: libodbc.so.1 for package: sphinx
    --> Running transaction check
    ---> Package sphinx.i386 0:0.9.9-1.el5.rf set to be updated
    --> Processing Dependency: libmysqlclient.so.15 for package: sphinx
    --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: sphinx
    ---> Package unixODBC-libs.i386 0:2.2.11-10.el5 set to be updated
    --> Finished Dependency Resolution
    sphinx-0.9.9-1.el5.rf.i386 from rpmforge has depsolving problems
      --> Missing Dependency: libmysqlclient.so.15(libmysqlclient_15) is needed by package sphinx-0.9.9-1.el5.rf.i386 (rpmforge)
    sphinx-0.9.9-1.el5.rf.i386 from rpmforge has depsolving problems
      --> Missing Dependency: libmysqlclient.so.15 is needed by package sphinx-0.9.9-1.el5.rf.i386 (rpmforge)
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    Install complete.
    I altered
    Code:
    /etc/yum.conf
    and commented out the exclude line, then it gives this error:

    Code:
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * epel: mirror.rackcentral.com.au
     * extras: mirror.ventraip.net.au
     * rpmforge: mirror.ventraip.net.au
     * updates: mirror.rackcentral.com.au
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package sphinx.i386 0:0.9.9-1.el5.rf set to be updated
    --> Processing Dependency: libmysqlclient.so.15 for package: sphinx
    --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: sphinx
    --> Processing Dependency: libodbc.so.1 for package: sphinx
    --> Running transaction check
    ---> Package mysql.i386 0:5.0.95-5.el5_9 set to be updated
    ---> Package unixODBC-libs.i386 0:2.2.11-10.el5 set to be updated
    --> Processing Conflict: mysql conflicts MySQL
    --> Finished Dependency Resolution
    mysql-5.0.95-5.el5_9.i386 from base has depsolving problems
      --> mysql conflicts with MySQL55-server
    Error: mysql conflicts with MySQL55-server
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    
    Any tips or things to try would be much appreciated.

    - - - Updated - - -

    I also tried manually based on the instructions here:
    http://sphinxsearch.com/docs/current.html#installing-redhat

    Code:
    # rpm -Uhv sphinx-2.1.8-1.rhel5.i386.rpm
    error: Failed dependencies:
            libmysqlclient.so.15 is needed by sphinx-2.1.8-1.rhel5.i386
            libmysqlclient.so.15(libmysqlclient_15) is needed by sphinx-2.1.8-1.rhel5.i386
    
     
  2. cornernote

    cornernote Member

    Joined:
    Nov 9, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    6
    I found that I needed an RPM called "MySQL-shared-compat". I needed to locate an RPM for Centos5 and for MySQL 5.5. I managed to find one here:

    Index of /mysql/Downloads/MySQL-5.5

    After installing:
    Code:
    rpm -ivh http://download.softagency.net/mysql/Downloads/MySQL-5.5/MySQL-shared-compat-5.5.38-1.rhel5.i386.rpm
    I was able to install sphinx:
    Code:
    yum install sphinx
     
  3. cornernote

    cornernote Member

    Joined:
    Nov 9, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    6
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. mariusx

    mariusx Registered

    Joined:
    Aug 18, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Recent i installed the sphinx on whm and now he can't upgrade because whm use MySQL-shared-compat 5.1 instead of MySQL-shared-compat 5.6 (what i installed) or in this case MySQL-shared-compat 5.5
    What happens if i remove after sphinx is installed the MySQL-shared-compat 5.6 and cpanel puts back MySQL-shared-compat5.1?
    Sphinx will still runing ?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You may want to consult with the developers or support for that application to see if it's compatible with different versions of that RPM.

    Thank you.
     
Loading...

Share This Page