Is this a 32bit ghc? It's complaining about libiconv beig the wrong architecture. <span></span><br><br>On Friday, July 18, 2014, Edsko de Vries <<a href="mailto:edskodevries@gmail.com">edskodevries@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi guys,<div><br></div><div>I am currently unable to build vector on OSX:</div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
Loading package base ... <command line>: can't load .so/.DLL for: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libiconv.dylib (dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libiconv.dylib, 9): no suitable image found.  Did find:
        /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libiconv.dylib: mach-o, but wrong filetype)
cabal: Error: some packages failed to install:
vector-0.10.11.0 failed during the building phase. The exception was:</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><span style="font-family:arial;color:rgb(34,34,34)">This has been reported before as some kind of clang issue, but I am using gcc 4.8 (ghc-7.4.2/settings has "gcc-4.8" for "C compiler command"). </span></pre>

<pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><span style="font-family:arial;color:rgb(34,34,34)">Any suggestions?</span></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
<span style="font-family:arial;color:rgb(34,34,34)">Thanks!</span></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><span style="font-family:arial;color:rgb(34,34,34)">Edsko</span></pre></div></div>

</blockquote>