GPL Ghostscripts w/ 64bit problems [fPIC required w/ shared library]

Ken Moffat zarniwhoop73 at googlemail.com
Sun Sep 6 06:50:32 PDT 2009


2009/9/6 Nathan Coulson <conathan at gmail.com>:
> I received the following error when I was trying to compile GPL
> Ghostscripts on my multilib LFS system
>
> if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
>        XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
>        FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \
>        DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \
>        DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
>        DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
>        DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
>        DEVICE_DEVS_EXTRA= \
>        /bin/sh <./obj/../soobj/ldt.tr
> /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
> ./obj/../soobj/gp_unix.o: relocation R_X86_64_32 against `a local
> symbol' can not be used when making a shared object; recompile with
> -fPIC
>

 Yeah, I've been using the following sed before I run configure,
for my pure64 system:
sed -i "s/CFLAGS='/&-fPIC /g" base/unix-dll.mak

 Originally from cblfs, but altered when the file structure changed
in 8.64.

ĸen
-- 
After tragedy, and farce, "OMG poneys!"



More information about the blfs-dev mailing list