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 at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to