On Sat, Apr 11, 2009 at 2:02 AM, Eric Kow <[email protected]> wrote:
> This is what I get trying to build darcs on my Mac using the autoconf
> method:
>
> Undefined symbols:
>  "_iconv_close", referenced from:
>      _h_iconv_close in libHShaskeline-0.6.1.3.a(h_iconv.o)
>  "_iconv", referenced from:
>      _h_iconv in libHShaskeline-0.6.1.3.a(h_iconv.o)
>  "_iconv_open", referenced from:
>      _h_iconv_open in libHShaskeline-0.6.1.3.a(h_iconv.o)
> ld: symbol(s) not found
>
> Note also that this blocks me from using the 'make website' target
> (but it should probably be fixed even if it doesn't)

Is it possible that one of Darcs' dependencies is linking to MacPorts?
 The version of libiconv provided by MacPorts has different symbols
than the version installed by default on OS X.

If you're going to be using MacPorts, I recommend using:

cabal install haskeline --reinstall --extra-libraries=/opt/local/lib
--extra-include-dirs=/opt/local/include

which tells Haskeline to always link against MacPorts' version.

Let me know whether that fixes it,
-Judah
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to