[Clfs-support] Ghostscript-8.62.0
Randolph D Dach
rdach at telus.net
Sun Sep 7 13:54:53 PDT 2008
On Sun, 07 Sep 2008 21:20:06 -0400
Joe Ciccone <jciccone at gmail.com> wrote:
>
> 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.
>
>
Worked like a charm
Tks
Randy _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
--
Randy Dach
Having fun as usual
More information about the Clfs-support
mailing list