haskell-crypto / cryptonite

lowlevel set of cryptographic primitives for haskell
Other
226 stars 139 forks source link

linker errors in code that uses cryptonite #19

Closed peti closed 9 years ago

peti commented 9 years ago

Citing from http://hydra.cryp.to/build/946016/nixlog/1/raw:

GHCi runtime linker: fatal error: I found a duplicate definition for symbol
   gf_mulx
whilst processing object file
   /nix/store/3lzzqvxrzmr5bgnvyjc0b6p9gq2jdd2b-haskell-cryptonite-0.4/lib/ghc-7.6.3/cryptonite-0.4/HScryptonite-0.4.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.
vincenthz commented 9 years ago

it has been fixed in cryptonite 0.5 and cipher-aes-0.2.11