
29 Nov
2009
29 Nov
'09
10:08 p.m.
Antoine Latter:
On Sat, Nov 28, 2009 at 3:54 PM, Yusaku Hashimoto
wrote: I think you installed zlib without proper flags to link with 32-bit libraries. configuring with ./Setup configure --with-hsc2hs='--cc-flag=-m32 --ld-flag=-m32' should do the tricks.
See also http://hackage.haskell.org/trac/ghc/ticket/3681.
HTH -~nwn
The following worked like a charm:
cabal install --hsc2hs-options='--cc-flag=-m32 --ld-flag=-m32'
Which version of 6.12 are you running? These options or manually patching the hsc2hs wrapper should not be necessary with 6.12 anymore. (They are only a temporary workaround to use the old 6.10 release on Snow Leopard.) Manuel