I am trying to compile a package (git -annex) in OpenBSD, and I am hit with some strange problems.
I keep getting
Loading package gnuidn-0.2.1 ...
GHCi runtime linker: fatal error: I found a duplicate definition for symbol
c_isascii
whilst processing object file
/usr/local/lib/libidn.a
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.
It was shown here , here and here, but it didn’t help me at all. I checked if I have different versions of different packages (which I don’t do, according to ~ / .cabal / lib and the "ghc-pkg list"), and I even tried recompiling libidn without the c_isascii character, which only led to that same error, but about a different character (stringprep_utf8_to_unichar).
So now I have no idea what to do. Any ideas?
EDIT: Added a "ghc-pkg" list to the sources I checked for conflicting packages.