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.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to