Thanks for the trick :)

The solution is perhaps to try another mysql library :/

Le 25 oct. 2014 à 17:20, Brandon Allbery <allbery.b@gmail.com> a écrit :

On Sat, Oct 25, 2014 at 11:16 AM, Christian Sperandio <christian.sperandio@gmail.com> wrote:
Meanwhile, I have to do the ugly export DYLD_LIBRARY_PATH :/

Actually, don't --- that actually stands a good chance of breaking things in bizarre ways. Use DYLD_FALLBACK_LIBRARY_PATH instead, it's less likely to cause weird breakage.

The other problem is that Eclipse is generally launched from the GUI, and getting DYLD_FALLBACK_LIBRARY_PATH visible to the GUI is painful:  you need to create ~/.launchd.conf and add something like

    setenv DYLD_FALLBACK_LIBRARY_PATH /usr/local/mysql-5.6.11-osx10.7-x86_64/lib

to it, then log out and back in so that the GUI is started with it. (This does stand a certain chance of making things go haywire, because you're really not supposed to set that --- but in this case I think you're stuck.)

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners