Mar 112011
 

After installing Sphinx 1.10 on OSX Snow Leopard, I attempted to run the initial indexer and got the following error:

dyld: Library not loaded: libmysqlclient.16.dylib
Referenced from: /usr/local/bin/indexer
Reason: image not found
Trace/BPT trap

The fix was found after a little googling; just run this command:

sudo install_name_tool -change libmysqlclient.16.dylib /usr/local/mysql/lib/libmysqlclient.16.dylib /usr/local/bin/indexer

Take into account the location of your Sphinx install, but after this runs you should be all set.

Update
I also just discovered that you’ll probably have to run the same command to get search working as well.