Feeds:
RSS
Atom

I am trying to compile mnoGoSearch search engine on Mac OS X. I want to play with it a little more to see how I can better use it in my mnoGoSearch TYPO3 extension.

It complies ok but executing any compiled binary results in weird error:

dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
  Referenced from: /opt/mnogosearch-3.3.6/bin/mconv
  Reason: image not found
Trace/BPT trap

As you see MySQL dynamic library location is totally wrong. May be it can be fixed by adjusting makefiles, I am not sure. But I found a different way here (thanks, Ruby guys!). This is what I did:

install_name_tool -change /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib /usr/local/mysql/lib/libmysqlclient.15.dylib /opt/mnogosearch-3.3.6/bin/mconv

(FYI: install_name_tool changes path to dynamic library inside MAC OS X executable). Now it works. Mac OS X is not as friendly as Linux for developers...

If anyone knows better way, please, share!

Like it? Then bookmark it! digg.comdel.icio.usgoogle.comMyLink.deYahooMyWebTechnoratiFurllive.comnetscapeTagThatWebnews

Leave a Reply