[Haskell-beginners] Problems linking code from the book Haskell School of Expression
Brandon Allbery
allbery.b at gmail.com
Fri Nov 25 21:53:55 CET 2011
On Fri, Nov 25, 2011 at 15:33, Philippe Sismondi <psismondi at arqux.com>wrote:
> Your suggestion reminds me that installing soegtk caused an outpouring of
> messages about "ignoring libraries". So the problem may well have arisen at
> that point. I should probably look at the cabal packages for gtk2hs, or
> maybe contact the guys who put it together.
>
Ok, then what happened is that gtk2hs found the MacPorts Gtk+ libraries,
which were built native/64-bit, and tried to use them in your 32-bit GHC
environment. (gtk2hs does *not* come with Gtk+ libraries; you have to
provide them from somewhere.)
So, either you need to find some prebuilt 32-bit Gtk+ libraries, or you
need to rebuild the MacPorts libraries to be +universal so they have been
32- and 64-bit variants. That said, the latter will probably fail with
missing symbols related to iconv (MacPorts' iconv library is not compatible
with Apple's, which is used by the Haskell Platform build).
--
brandon s allbery allbery.b at gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20111125/7ced442a/attachment.htm>
More information about the Beginners
mailing list