Hi Evan,

I think you’re right about it being a dependency issue. Sphinx will require 
mysql-related dependencies - you don’t need a MySQL server running, but you 
will need client libraries installed. I’m not across yum, so I’m not sure 
what’s ideal. Also, it’s worth noting that you may need to reinstall Sphinx 
after the mysql dependencies, to ensure it picks up on them correctly.

Do let us know if you find a solution!

—
Pat

> On 4 Jan 2018, at 8:29 am, Evan Shabsove <evan.shabs...@swtchev.com 
> <mailto:evan.shabs...@swtchev.com>> wrote:
> 
> Hey everyone,
> 
> I've been trying to set up sphinx on an elastic beanstalk instance. I 
> currently have searchd running, but when I try to run the command
> 
> RAILS_ENV=production bundle exec rake ts:index
> 
> I get an error of
> 
> using config file '/var/app/ondeck/config/production.sphinx.conf'...
> WARNING: key 'enable_star' was permanently removed from Sphinx configuration. 
> Refer to documentation for details.
> WARNING: key 'enable_star' was permanently removed from Sphinx configuration. 
> Refer to documentation for details.
> indexing index 'custom_field_value_core'...
> indexer: relocation error: indexer: symbol mysql_init, version 
> libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time 
> reference
> 
> When I try to make a search query on the website I get an error of
> 
> "free":"no enabled local indexes to search
> 
> 
> I think the main issue is the "indexer: relocation error" but I'm not 
> completely sure. I see that the app uses enable_star which has been removed 
> but I don't think this is what's causing the problem.
> 
> I'm guessing that I need to yum install a dependency that I'm missing but I 
> don't know what, if anyone could point me in the right direction that would 
> be very much appreciated!
> 
> Thanks!
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to thinking-sphinx+unsubscr...@googlegroups.com 
> <mailto:thinking-sphinx+unsubscr...@googlegroups.com>.
> To post to this group, send email to thinking-sphinx@googlegroups.com 
> <mailto:thinking-sphinx@googlegroups.com>.
> Visit this group at https://groups.google.com/group/thinking-sphinx 
> <https://groups.google.com/group/thinking-sphinx>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to thinking-sphinx+unsubscr...@googlegroups.com.
To post to this group, send email to thinking-sphinx@googlegroups.com.
Visit this group at https://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to