GHCi Package problem?
Martin Erwig
erwig at cs.orst.edu
Thu Feb 3 11:10:34 EST 2005
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
More information about the Glasgow-haskell-bugs
mailing list