GHCi runtime linker: fatal error: I found a duplicate definition for symbol my_inet_ntoa whilst processing object file /usr/local/lib/network-22.214.171.124/ghc-6.12.3/HSnetwork-126.96.36.199.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.
Haskell packages are described here. Running
ghc-pkg-listshowed me that
network-188.8.131.52was mentioned in the usr/local/lib ghc package.conf.d and also that a later version
network-184.108.40.206was also present.
To solve this problem, it seems like I had to simply do
cabal upgrade http. Perhaps a dependency is missing? Not entirely sure, but thought I'd note the problem here so someone else encountering it will find it!