[Haskell-cafe] Cabal and LLVM bindings

Thomas Schilling nominolo at googlemail.com
Thu Mar 11 09:54:56 EST 2010

Do you happen to use template haskell?  It looks like the interpreter
is trying to load llvm, which is currently not supported.  That
doesn't explain why it works with ghc --make though.  Do you do
anything special in your .cabal file?

On 11 March 2010 12:30, Ville Tirronen <aleator at gmail.com> wrote:
> Hi!
> I'm trying to get cabal build my toy compiler, which is based on llvm
> bindings on hackage. Everything is fine with ghc --make,
> but with cabal install I get:
> Loading package llvm- ... <command line>: can't load .so/.DLL
> for: LLVMSystem (dlopen(libLLVMSystem.dylib, 9): image not found)
> cabal: Error: some packages failed to install:
> QV-0.1 failed during the building phase. The exception was:
> ExitFailure 1
> This is done on os x 10.5.8, if that has any relevance.
> Anyone got any hints on how to proceed with this?
> Ville Tirronen
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

Push the envelope.  Watch it bend.

More information about the Haskell-Cafe mailing list