The problem is described here http://blog.omega-prime.co.uk/?p=96. When I
was using macports, I would build GHC myself using:

>>*   EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/opt/local/include \
*>>*                                 --extra-lib-dirs=/opt/local/lib
*

and

>>*   ./configure --with-iconv-includes=/opt/local/include \
*>>*               --with-iconv-libraries=/opt/local/lib \
*>>*               --with-gmp-includes=/opt/local/include \
*>>*               --with-gmp-libraries=/opt/local/lib*


as described here
http://www.haskell.org/pipermail/haskell-cafe/2010-June/079204.html


On Sun, Aug 31, 2014 at 4:39 PM, Peng Yu <pengyu...@gmail.com> wrote:

> On Sat, Aug 30, 2014 at 3:41 PM, Brandon Allbery <allber...@gmail.com>
> wrote:
> > On Sat, Aug 30, 2014 at 4:33 PM, Peng Yu <pengyu...@gmail.com> wrote:
> >>
> >> Undefined symbols for architecture x86_64:
> >> "_iconv", referenced from:
> >> _hs_iconv in libHSbase-4.7.0.1.a(iconv.o)
> >
> >
> > You are mixing stuff built against the system iconv with stuff built
> against
> > either MacPorts or Homebrew. This won't work.
>
> I have MacPorts installed. But how to figure out what in MacPorts is
> in conflict from the one from Haskell Mac OS X installer?
>
> --
> Regards,
> Peng
> _______________________________________________
> cabal-devel mailing list
> cabal-devel@haskell.org
> http://www.haskell.org/mailman/listinfo/cabal-devel
>
_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to