Building Gettext-0.17 Error - LFS-6.5 Chapter 6.41

Michael Tsang miklcct at gmail.com
Tue Oct 6 02:58:16 PDT 2009


On Tuesday 06 October 2009 00:23:47 Antony Derham wrote:
> /usr/bin/ld: ../gnulib-lib/.libs/libgettextlib.a(error-progname.o):
>  relocation R_X86_64_32 against `a local symbol' can not be used when
>  making a shared object; recompile with -fPIC
>  ../gnulib-lib/.libs/libgettextlib.a: could not read symbols: Bad value
>  collect2: ld returned 1 exit status
> make[4]: *** [libgettextsrc.la] Error 1
> make[4]: Leaving directory `/sources/gettext-0.17/gettext-tools/src'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/sources/gettext-0.17/gettext-tools/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/sources/gettext-0.17/gettext-tools'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/sources/gettext-0.17/gettext-tools'
> make: *** [all-recursive] Error 1
> 
> I ran
> 
> ./configure --prefix=/usr --docdir=/usr/share/doc/gettext-0.17 && make
> 
> and this is the error it gave me.
> 
> Please can someone help me!?
> 
> Thanks in advance!
> 
> Antony

Try

make CFLAGS+=-fPIC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20091006/3ef34581/attachment.sig>


More information about the lfs-support mailing list