[Clfs-support] Ghostscript-8.62.0

Joe Ciccone jciccone at gmail.com
Sun Sep 7 18:20:06 PDT 2008


Randolph D Dach wrote:
> Good day
>
> I'm having trouble getting Ghostscript to compile the shared libraries using X86_64 multilib system.
>
>
> /usr/bin/ld: ./obj/../soobj/gs.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> ./obj/../soobj/gs.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [bin/../sobin/libgs.so.8.62] Error 1
> make[1]: Leaving directory `/usr/sources/gnu-ghostscript-8.62.0-64'
> make: *** [so] Error 2
>
>   
Solved with a simple sed:

sed -i "s/CFLAGS='/&-fPIC /g" src/unix-dll.mak

I added it to the page already.




More information about the Clfs-support mailing list