<br><br><div class="gmail_quote">On Fri, Jan 7, 2011 at 8:00 AM, Max Bolingbroke <span dir="ltr">&lt;<a href="mailto:batterseapower@hotmail.com">batterseapower@hotmail.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I don&#39;t think readline links against iconv. What that error says to me<br>
is that GHC is failing to link against *any* iconv. I bet that it&#39;s<br>
because you have iconv installed via Macports without +universal. Try:<br>
<br>
$ file /opt/local/lib/libiconv.a<br>
<br>
It should say:<br>
<br>
/opt/local/lib/libiconv.a: Mach-O universal binary with 2 architectures<br>
/opt/local/lib/libiconv.a (for architecture i386):      current ar archive<br>
random library<br>
/opt/local/lib/libiconv.a (for architecture x86_64):    current ar<br>
archive random library<br>
<br></blockquote><div> </div><div>If nothing else, I&#39;ve learned about checking locations and architectures of libraries in this little adventure, so I had checked that prior to writing.  I do in fact have the universal binary installed.  What&#39;s more, both the macport and system versions are universal.  I tried telling cabal to explicitly use each, separately, and it failed both times, though it gave me a different error when compiling against the system lib.  (It complained about readline again, which is why I assumed readline had some dependency on iconv.)</div>
<div><br></div><div>I&#39;m going to try what Gwern recommended (using the darcs repository for lambdabot) before I continue down this route.</div><div><br></div><div>Thanks for your persistence.</div></div><br>