[Haskell-cafe] After upgrade bytestring to 0.9.1.3, my program cannot run.

Don Stewart dons at galois.com
Mon Oct 6 23:21:27 EDT 2008


magicloud.magiclouds:
> Just a simple text process program. When I runhaskell it. I got:
> 
> GHCi runtime linker: fatal error: I found a duplicate definition for symbol
>   fps_minimum
> whilst processing object file
>   ~/.cabal/lib/bytestring-0.9.1.3/ghc-6.8.3/HSbytestring-0.9.1.3.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.
> 

This likely means your program is using some package A, that has been
compiled against (and loading) old bytestring, but also loading the new
bytestring.

The solution is to recompile whatever your library 'A' is that is trying
to use the old bytestring.

Or try compiling it , with ghc --make

-- Don


More information about the Haskell-Cafe mailing list