It's a side effect of dynamic linking, or, lack of support for it in ghci. You
can't work around it. I've tried.
Sent from my iPad
On Dec 27, 2010, at 9:14 PM, Alexander Bau wrote:
>> GHCi and cabal didn't work, but ghc --make did.
>
> Neither GHCi, cabal nor ghc --make works.
>
> I refactor
> GHCi and cabal didn't work, but ghc --make did.
Neither GHCi, cabal nor ghc --make works.
I refactored my code, so that all TH related stuff does not depend on
wxHaskell, i.e. wxHaskell doesn't need to be loaded during THs code
generation. Then ghc --make works fine. But when using cabal, the
We had this problem with a binding to a C++ library (through a C
wrapper). GHCi and cabal didn't work, but ghc --make did. How are you
compiling exactly when you get this error? This is somehow related to
TH, without it, at least cabal also works. I'm not sure about GHCi.
There's also a relevant bu
Hi,
I am using Template Haskell and wxHaskell [1]. When Graphics.UI.WX is
loaded during THs code generation, I get the following error:
> ...
> Loading package wxdirect-0.12.1.3 ... linking ... done.
> ghc: /usr/local/lib/wxcore-0.12.1.6/ghc-6.12.3/HSwxcore-0.12.1.6.o:
> unknown symbol `__dso_han