Nothing can link with gtk on Snow Leopard
jwlato at gmail.com
Thu Nov 11 06:27:11 EST 2010
> Message: 5
> Date: Thu, 11 Nov 2010 12:43:40 +1030
> From: Mark Spezzano <mark.spezzano at chariot.net.au>
> Subject: Nothing can link with gtk on Snow Leopard
> To: libraries at haskell.org
> Message-ID: <E68B9F5E-2EBF-43E5-B72E-BEA044DFF948 at chariot.net.au>
> Content-Type: text/plain; charset=us-ascii
> I'm running Mac OS X Snow Leopard. I've done a "sudo cabal install gtk
> --global" on my system, and it warns me that "file was built for unsupported
> file format which is not the architecture being linked (i386)". What does
> this refer to?
> Subsequently, nothing else _links_ properly with gtk.
> For example, hp2any-manager (or other tools) all fail during linking with
> Am I doing something wrong?
At one point I had this problem due to hsc2hs attempting to build 64-bit.
What happens if you try running:
cabal install gtk --global --hsc2hs-flags=--cflags=-m32
(I think that's the incantation I used).
Apologies for not remembering more details, but I'm strongly suspicious that
the issue lies in hsc2hs.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries