|
RE: GHCi Package problem?: msg#00012lang.haskell.glasgow.bugs
On 03 February 2005 16:11, Martin Erwig wrote: > 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? No. The error message says that it is trying to load ./Data/Graph/Inductive/Internal/FiniteMap.o. but that module is already part of the fgl package isn't it? (when I said current directory, I really meant "relative to the current directory"). Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: GHCi Package problem?, Martin Erwig |
|---|---|
| Next by Date: | Re: GHCi Package problem?, Martin Erwig |
| Previous by Thread: | Re: GHCi Package problem?, Martin Erwig |
| Next by Thread: | Re: GHCi Package problem?, Martin Erwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |