[Haskell-cafe] trouble with HDBC-mysql on Mac OS X

Martijn van Steenbergen martijn at van.steenbergen.nl
Sun Nov 21 08:17:18 EST 2010


Hi Mark, Chris,

I had trouble as well but just found this pretty recent blog post by @freels
which worked like a charm for me:

http://matt.freels.name/2010/hdbc-mysql-os-x.html

I hope it works for you as well!

I've added Chris to the list of recipients because maybe he can incorporate
the fix directly into the installation process of HDBC-mysql.

Martijn.


On Thu, Feb 11, 2010 at 3:49 AM, Mark Lentczner <markl at glyphic.com> wrote:

> I'm having trouble with HDBC-mysql on Mac OS X (10.6, Snow Leopard). It
> compiles and builds fine, but when loaded (into ghci), the dynamic loader
> complains about not being able to find libmygcc.dylib. The issue is, MySQL's
> libmygcc is a static lib, not a dynamic one, so of course it won't find it.
>
> I've checked the build sequence that HDBC-mysql uses, and it calls upon
> mysql_config to generate the lib options. I've checked those and they are
> correct, expressly listing libmygcc statically (!). I've tried building
> against both the 64bit and 32bit versions of MySQL libs. (Suspect that only
> the 32bit should work.)
>
> Anyone have HDBC-mysql running on 10.6? Any ideas for me to try would be
> appreciated.
>
>        - Mark
>
>
> Mark Lentczner
> http://www.ozonehouse.com/mark/
> IRC: mtnviewmark
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20101121/9a663277/attachment.html


More information about the Haskell-Cafe mailing list