I believe that was the problem I had and refered to. Same error message when building the .so. My solution was to build the object on a 32-bit platform, and then import it in. It works to some degree, but not fully, so I'm back to square one. The relocation bit is what killed the goose...
Alex White wrote:
James Bond wrote:
Hi, i am trying to compile the latest version of orca source code on CentOS 4.0 system running amd64 bit processor. I am getting the following error:
<snipped>
/usr/bin/ld: ../src/.libs//librrd_private.a(parsetime.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../src/.libs//librrd_private.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[5]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1 make[5]: Leaving directory `/usr/local/src/orca-snapshot-r407/packages/rrdtool-1.0.49/perl-shared'
what should i do to fix this problem and get it working?
Thanks, James
relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
Have you tried the suggest fix by the compiler? Or have you attempted this and is simply bombs out in some horrid fashion still? There was a similar thread about this last week I think. You may want to search the archives.
HTH
Alex White _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos