[Haskell-cafe] Unable to build vector on OSX (ghc 7.4, gcc 4.8)

Edsko de Vries edskodevries at gmail.com
Fri Jul 18 15:48:11 UTC 2014


No, it's ghc-7.4.2-x86_64-apple-darwin.tar.bz2 from haskell.org/ghc.

Turns out it's got nothing to do with vector per se. ghci doesn't work
either (should have realized this sooner -- it's going wrong when TH
initializes when building vector).

-E


On Fri, Jul 18, 2014 at 4:36 PM, Carter Schonwald <
carter.schonwald at gmail.com> wrote:

> Is this a 32bit ghc? It's complaining about libiconv beig the wrong
> architecture.
>
>
> On Friday, July 18, 2014, Edsko de Vries <edskodevries at gmail.com> wrote:
>
>> Hi guys,
>>
>> I am currently unable to build vector on OSX:
>>
>> 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:
>>
>> 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").
>>
>> Any suggestions?
>>
>> Thanks!
>>
>> Edsko
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140718/bcfa6724/attachment.html>


More information about the Haskell-Cafe mailing list