This is an upstream bug (exists in recent MySQL source builds as well).
It's also referenced in this old report http://bugs.mysql.com/bug.php?id=29580 and many blog posts.
Another workaround is to change the library name in the object file, as described here, for example: http://stackoverflow.com/questions/517976/how-to-fix-dlopen-library-ruby-gems-1-8-gems-mysql-2-7-lib-mysql-bundle-9-li
This is an upstream bug (exists in recent MySQL source builds as well).
It's also referenced in this old report http:// bugs.mysql. com/bug. php?id= 29580 and many blog posts.
Another workaround is to change the library name in the object file, as described here, for example: http:// stackoverflow. com/questions/ 517976/ how-to- fix-dlopen- library- ruby-gems- 1-8-gems- mysql-2- 7-lib-mysql- bundle- 9-li