Page 1 of 1


Posted: 2010/01/22 02:34:04
by rhedin
I am building a 32-bit package on a 64-bit Intel machine running CentOS 5. At a certain state, the linker tells me:

R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

As far as we can tell, all the compilation steps use -fPIC. We are mystified.

Has anyone else encountered this?




Posted: 2010/01/22 18:23:39
by pschaff
Building i386 on x86_64 is often done with a chroot environment, or if building RPMs [url=](recommended)[/url], done with a tool like [url=]mock[/url] available in the [url=][extras] repo[/url].