Sorry I forgot to reinstall sphinxsearch packages, Sphinx is now working! On Dec 11, 3:33 pm, rtacconi <[email protected]> wrote: > I have installed libmysqlclient and sphinx with the Ubuntu Server > 10.04 package. Here is a list of limysql in /usr/lib: > > -rw-r--r-- 1 root root 10581008 2011-11-18 16:51 libmysqlclient.a > lrwxrwxrwx 1 root root 16 2011-12-10 05:48 libmysqlclient_r.a -> > libmysqlclient.a > > lrwxrwxrwx 1 root root 29 2011-12-10 09:29 libmysqlclient_r.so. > 15 -> /usr/lib/libmysqlclient.so.15 > lrwxrwxrwx 1 root root 20 2011-12-10 05:48 libmysqlclient.so -> > libmysqlclient.so.16 > lrwxrwxrwx 1 root root 29 2011-12-10 06:01 libmysqlclient.so.15 > -> /usr/lib/libmysqlclient.so.16 > lrwxrwxrwx 1 root root 29 2011-12-11 09:21 libmysqlclient.so.16 > -> /usr/lib/libmysqlclient.so.15 > -rw-r--r-- 1 root root 7332 2011-11-18 16:44 libmysqlservices.a > drwxr-xr-x 3 root root 4096 2011-12-10 05:47 mysql > > Now I have removed the sphinx package and tried to compile it but > after make I get: > > libsphinx.a(sphinxstd.o):/root/sphinx-0.9.9/src/sphinxstd.cpp:273: > first defined here > /usr/lib/libmysqlclient.a(my_new.cc.o): In function `operator new[] > (unsigned int)': > /var/lib/buildbot/slaves/percona-server-51-12/DEB_Ubuntu_lucid_i386/ > work/Percona-Server-5.5.17-rel22.1/mysys/my_new.cc:32: multiple > definition of `operator new[](unsigned int)' > libsphinx.a(sphinxstd.o):/root/sphinx-0.9.9/src/sphinxstd.cpp:265: > first defined here > /usr/lib/libmysqlclient.a(my_new.cc.o): In function `operator > new(unsigned int)': > /var/lib/buildbot/slaves/percona-server-51-12/DEB_Ubuntu_lucid_i386/ > work/Percona-Server-5.5.17-rel22.1/mysys/my_new.cc:27: multiple > definition of `operator new(unsigned int)' > libsphinx.a(sphinxstd.o):/root/sphinx-0.9.9/src/sphinxstd.cpp:256: > first defined here > collect2: ld returned 1 exit status > make[2]: *** [indexer] Error 1 > make[2]: Leaving directory `/root/sphinx-0.9.9/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/root/sphinx-0.9.9/src' > make: *** [all-recursive] Error 1 > > I am using percona server package (Mysql 5.5) for mysql packages > instead of using the old mysql 5.1 of Ubuntu > > On Dec 11, 12:45 am, Pat Allan <[email protected]> wrote: > > > > > > > > > You may also need to re-compile Sphinx after installing libmysqlclient - > > I'm not sure, though. > > > -- > > Pat > > > On 11/12/2011, at 3:45 AM, Manish M. Shah wrote: > > > > Hi there, > > > > In the feedback from the ts:rebuild, it says: libmysqlclient.so.16: > > > cannot open shared object file: No such file or > > > directory > > > > You need to install libmysqlclient. > > > > Manish > > > > On Dec 10, 2011, at 10:59 AM, rtacconi wrote: > > > >> Hi, > > > >> When I run: > > > >> bundle exec rake ts:rebuild RAILS_ENV=production > > > >> I get: > > > >> Sphinx cannot be found on your system. You may need to configure the > > >> following > > >> settings in your config/sphinx.yml file: > > >> * bin_path > > >> * searchd_binary_name > > >> * indexer_binary_name > > > >> For more information, read the documentation: > > >>http://freelancing-god.github.com/ts/en/advanced_config.html > > > >> Generating Configuration to my_path/config/production.sphinx.conf > > >> /usr/bin/indexer: error while loading shared libraries: > > >> libmysqlclient.so.16: cannot open shared object file: No such file or > > >> directory > > >> /usr/bin/searchd: error while loading shared libraries: > > >> libmysqlclient.so.16: cannot open shared object file: No such file or > > >> directory > > >> Failed to start searchd daemon > > > >> my config/sphinx.yml file is: > > > >> production: > > >> bin_path: /usr/bin > > >> max_matches: 4000 > > >> mem_limit: 128M > > > >> development: > > >> max_matches: 4000 > > > >> indexerd and searchd are here: > > > >> # which search > > >> /usr/bin/search > > >> # which indexer > > >> /usr/bin/indexer > > > >> I moved an app from Centos os Ubuntu, so the path to sphinx changed > > >> but I cannot manage to have sphinx to work again. I have installed > > >> sphinx using apt-get, I am using Ubuntu Server 10.04. My ruby is: > > > >> # ruby -v > > >> ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux], MBARI 0x8770, > > >> Ruby Enterprise Edition 2011.03 > > > >> It's a Rails 2.3.12 > > > >> Please help! > > > >> -- > > >> You received this message because you are subscribed to the Google > > >> Groups "Thinking Sphinx" group. > > >> To post to this group, send email to [email protected]. > > >> To unsubscribe from this group, send email to > > >> [email protected]. > > >> For more options, visit this group > > >> athttp://groups.google.com/group/thinking-sphinx?hl=en. > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Thinking Sphinx" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group > > > athttp://groups.google.com/group/thinking-sphinx?hl=en.
-- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
