Hi Nick
I've not dealt with this kind of setup before, so a little unsure of how to get
it working. Also: it's always painful to deal with these issues via email...
but let's see how far we can get.
Firstly - what values are you passing through for --mysql when configuring? And
have you tried the --with-mysql-libs option? Also, maybe these options (taken
from ./configure --help output) could be useful? Albeit I've not had to use
them myself, so a little unsure of the best way to do so:
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
Good luck!
--
Pat
On 23/02/2011, at 6:43 AM, Nick W wrote:
> I'm having a similar problem as this thread:
> http://groups.google.com/group/thinking-sphinx/browse_thread/thread/1152e8eabc27044d
> - but using Homebrew instead of Macports.
>
> Both rake ts:start, and searchd throw this error:
> dyld: Library not loaded: libmysql.16.dylib
> Referenced from: /Users/nickw/Developer/bin/searchd
> Reason: image not found
>
> MySQL runs fine. Here's where things are installed by Howebrew:
>
> /Users/nickw/Developer/bin/mysql
> /Users/nickw/Developer/bin/searchd
>
> /Users/nickw/Developer/Cellar/mysql/5.1.49/include/mysql
> /Users/nickw/Developer/Cellar/mysql/5.1.49/lib/
> mysql >> Contains libmysqlclient.dylib ->
> libmysqlclient.16.dylib
>
> /Users/nickw/Developer/Cellar/mysql-connector-c/6.0.2/include/
> /Users/nickw/Developer/Cellar/mysql-connector-c/6.0.2/
> lib/ >> Contains libmysql.16.dylib -> libmysql.
> 16.0.0.dylib
>
> I noticed that searchd is looking for "libmysql.16.dylib" - which as
> you can see is in "mysql-connector" not "mysql". I've spent hours and
> hours trying different potential solutions, everything from symlinking
> different .dylib files, symlinking from /usr/local, passing different
> --mysql flags to the sphinx installation, etc, etc. Any other ideas
> would be much appreciated!
>
> --
> 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.
>
--
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.