[Haskell-cafe] hs-plugins runtime loading issue

Donald Bruce Stewart dons at cse.unsw.edu.au
Tue Oct 25 20:32:42 EDT 2005


joelr1:
> Folks,
> 
> I'm using hs-plugins to compile and load haskell code on Mac OSX.  
> This works perfectly. Once I try this on Windows, though, I'm getting  
> an error when it tries to load HSBase again.
> 
> This happens when calling a function from within ghci.
> 
> Any ideas?

Does the code work when you compile it, instead of running it inside
ghci?

--Don

> 
> ---
> GHCi runtime linker: fatal error: I found a duplicate definition for  
> symbol
>   _GHCziWord_fromEnum1_closure
> whilst processing object file
>   
>   d


> ghc/ghc-6.4.1/HSbase1.o
> This could be caused by:
>   * Loading two different object files which export the same symbol
>   * Specifying the same object file twice on the GHCi command line
>   * An incorrect `package.conf' entry, causing some object to be
>     loaded twice.
> GHCi cannot safely continue in this situation.  Exiting now.  Sorry.
> --
> 
>     Thanks, Joel
> 
> --
> http://wagerlabs.com/
> 
> 
> 
> 
> 

> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list