On Feb 3, 2005, at 2:13 AM, Simon Marlow wrote:


Prelude> Data.Graph.Inductive.Example.clr486

   GHCi runtime linker: fatal error: I found a duplicate definition
for symbol
      _DataziGraphziInductiveziInternalziFiniteMap_Empty_closure
   whilst processing object file
      ./Data/Graph/Inductive/Internal/FiniteMap.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.

I don't know what to do about this.

Looks like GHCi is trying to load an object file for a module that is already present in the package. If Data.Graph.Inductive.Internal.FiniteMap is present in the fgl package, then you shouldn't also have it in the current directory,

I don't.

There is another FiniteMap.hi (and FiniteMap.p_hi) in

   /usr/local/lib/ghc-6.2/imports/Data

Could this be the offender?

Thanks,
Martin

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to