[Haskell-cafe] GHCi linker
ker0sin at yandex.ru
Mon Dec 9 06:43:00 UTC 2013
Hi. Trying to runhaskell following:
main = print "OK"
GHCi runtime linker: fatal error: I found a duplicate definition for symbol
whilst processing object file
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
GHCi cannot safely continue in this situation. Exiting now. Sorry.
ghc works fine and creates working executable. In ghci "import Graphics.UI.Gtk" works too.
What is the difference between runhaskell, ghci interactive and ghc linkers?
ghc 7.6.3 running on OpenBSD. It is built from ports system with default patches. I don't see any patch that touches GHCi linker.
More information about the Haskell-Cafe