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

Brandon Allbery allbery.b at gmail.com
Sat Oct 25 15:14:16 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20141025/3ad92168/attachment.html>


More information about the Beginners mailing list