[CentOS] Re: rrd compilation on Centos

Alex White ethericalzen at gmail.com
Thu Oct 13 13:54:20 UTC 2005


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



More information about the CentOS mailing list