Build error kdebase on amd64 platform: relocation R_X86_64_32S against `a local symbol'

Thiago Macieira thiago at
Mon May 19 00:23:07 BST 2008

Christian Esken wrote:
>> > Linking CXX shared module ../../../lib/
>> > /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../lib64/libpci.a(ac
>> >cess.o): relocation R_X86_64_32S against `a local symbol' can not be
>> > used when making a shared object; recompile with -fPIC

>OK, I found Thiagos post on kde-devel from 2008-04-25 21:50:49 (complier
> bug). Looks I need to find myself a newer compiler than "g++-4.2 (GCC)
> 4.2.1 (SUSE Linux)". It's probably easier to wait for SuSE11.0 (one
> month to go).

Or you need to get a shared library version of libpci. You cannot link a 
static library into a shared object.

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list