[Haskell-beginners] Error when running `cabal install cabal-install`
Brandon Allbery
allbery.b at gmail.com
Thu Apr 23 20:34:37 UTC 2015
On Thu, Apr 23, 2015 at 4:19 PM, Peng Yu <pengyu.ut at gmail.com> wrote:
> It is installed from <https://www.haskell.org/platform/
>
> >. The OS is Mac OS X.
>
Yes, as I suspected. The problem is that Apple ships an old version of the
iconv library; MacPorts and Homebrew generally install a newer,
incompatible one with symbols renamed to trigger that link error (because
otherwise you find out about the mismatch when the first iconv call dumps
core at runtime). You will need to arrange for ghc not to see that other
iconv, only Apple's, since it won't work with any but Apple's. Or use a ghc
from whichever package manager you have installed, so that it works with
that package manager's iconv library.
(This is more likely to happen with Homebrew, since most things don't look
/opt/local but just about everything looks under /usr/local.)
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150423/ccd46cd0/attachment.html>
More information about the Beginners
mailing list