On Sun, 07 Sep 2008 21:20:06 -0400
Joe Ciccone <[EMAIL PROTECTED]> 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
> [email protected]
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org


-- 
Randy Dach
Having fun as usual
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to