cannot install sphinx search
Hello,
I first tried
, however it gives this error:
I altered
and commented out the exclude line, then it gives this error:
Any tips or things to try would be much appreciated. [COLOR="silver">- - - Updated - - - I also tried manually based on the instructions here: http://sphinxsearch.com/docs/current.html#installing-redhat
yum install sphinx, however it gives this error:
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
/etc/yum.confand commented out the exclude line, then it gives this error:
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. [COLOR="silver">- - - Updated - - - I also tried manually based on the instructions here: http://sphinxsearch.com/docs/current.html#installing-redhat
# 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
-
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: [url=http://download.softagency.net/mysql/Downloads/MySQL-5.5/]Index of /mysql/Downloads/MySQL-5.5 After installing: 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:yum install sphinx0 -
I should note, "yum install sphinx" is an old version (0.9), the latest version should be installed from the sphinx download page: [url=http://sphinxsearch.com/downloads/release/]Sphinx 2.1.8-release downloads | Sphinx 0 -
Hello :) I am happy to see you were able to find a resolution. Thank you for updating us with the outcome. 0 -
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 ? 0 -
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. 0
Please sign in to leave a comment.
Comments
5 comments