On 09/23/2010 10:41 PM, Mitar wrote: > The other would be probably to implement/document configuration > (extra-lib-dir?) that Cabal (or GHC in general) first searches > system's library path (those against which GHC was compiled in Haskell > Platform) and if lib is not there goes for MacPorts or Fink's library > paths?
Exactly. So, if you're in this situation, just make sure - whenever you use GHC, pass it the -L/usr/lib flag - put --extra-lib-dirs=/usr/lib in ~/.cabal/config Now Apple's libs will be preferred when linking haskell executables, solving the libiconv errors while still allowing macports libs to be used. ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users