[Haskell-cafe] Linking errors when compiling projects with the ncurses-0.2 library

Gregory Collins greg at gregorycollins.net
Sun Mar 6 03:02:33 CET 2011

2011/3/5 Román González <romanandreg at gmail.com>:
> ld: warning: in /Users/roman/.homebrew/lib/libncursesw.dylib, file was built for unsupported file format which is not the architecture being linked (i386)

You're trying to link a 64-bit library with a 32-bit GHC. Either
upgrade to the new 64-bit GHC installer, or rebuild your libraries
with 32-bit support.

Gregory Collins <greg at gregorycollins.net>

More information about the Haskell-Cafe mailing list