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 <alea...@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-0.7.1.1 ... <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@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Push the envelope.  Watch it bend.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to