[Haskell-cafe] relocation R_X86_64_PC32 against undefined symbol

Henning Thielemann lemming at henning-thielemann.de
Wed Jun 20 21:37:05 CEST 2012


Just for the record:

I compiled with GHC and got the linker error:

/usr/bin/ld: dist/build/.../Module.dyn_o: relocation R_X86_64_PC32 against 
undefined symbol `..._xyz1_closure' can not be used when making a shared 
object; recompile with -fPIC


Problem was that I forgot to declare Module in the Cabal description.



More information about the Haskell-Cafe mailing list