[Haskell-beginners] Use mysql-simple (OS X and dymanic library trouble)

Christian Sperandio christian.sperandio at gmail.com
Sat Oct 25 15:16:47 UTC 2014


I’ll email the maintainer of the package.


Meanwhile, I have to do the ugly export DYLD_LIBRARY_PATH :/

Thanks for your help :)


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

> 
> On Sat, Oct 25, 2014 at 11:09 AM, Christian Sperandio <christian.sperandio at gmail.com> wrote:
> I unregistered the previous install with ghc-pkg unregister (for mysql and mysql-simple) and I tried:
> cabal install mysql --extra-lib-dirs=/usr/local/mysql-5.6.11-osx10.7-x86_64/lib
> 
> But I get the error again:
> 
> Then I presume whoever wrote those bindings didn't follow the rules, and you'll have to contact them to find out how to get it to work properly. (Unfortunately there's a decent chance they made it work on Linux and don't know about other platforms, and their only suggestion will be the LD_LIBRARY_PATH one which will not work properly on OS X, as you found.)
> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allbery.b at gmail.com                                  ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20141025/08ef0bc7/attachment-0001.html>


More information about the Beginners mailing list