[Haskell-cafe] relocation R_X86_64_PC32 against undefined symbol?
daniel.trstenjak at gmail.com
Sun Jan 5 12:21:30 UTC 2014
On Sun, Jan 05, 2014 at 01:00:45PM +0100, Magnus Therning wrote:
> I get the following error when trying to build hsimports:
> [7 of 7] Compiling HsImport ( src/HsImport.hs, dist/build/HsImport.dyn_o )
> /usr/bin/ld: dist/build/HsImport/Args.dyn_o: relocation R_X86_64_PC32 against undefined symbol `hsimportzm0zi2zi6zi3_Pathszuhsimport_version1_closure' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: Bad value
> collect2: error: ld returned 1 exit status
> What could be causing this?
Could you please test it with hsimport 0.2.6.4.
More information about the Haskell-Cafe