[rrd-users] Re: rrdtools compiles on SuSE SLES8 AMD64?

Adrian Wu adrianwu at appro.com
Thu Feb 12 19:10:00 MET 2004

Here is the output of the compile error :

Running Mkbootstrap for RRDs ()

chmod 644 RRDs.bs

rm -f blib/arch/auto/RRDs/RRDs.so

LD_RUN_PATH="" cc -shared -L/usr/local/lib64 RRDs.o -L../src/.libs/ -lrrd_private -lm -o blib/arch/auto/RRDs/RRDs.so

/usr/lib64/gcc-lib/x86_64-suse-linux/3.2.2/../../../../x86_64-suse-linux/bin/ld: ../src/.libs//librrd_private.a(rrd_create.o): relocation R_X86_64_32 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[3]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1

make[3]: Leaving directory `/root/rrdtool-1.0.46/perl-shared'

make[2]: *** [perl_shared] Error 2

make[2]: Leaving directory `/root/rrdtool-1.0.46'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/root/rrdtool-1.0.46'

make: *** [all] Error 2

node1:~/rrdtool-1.0.46 #


It seems rrdtool doesn't like perl (version 5.0.8 that comes with the OS). OS is SuSE SLES8 for AMD64 SP2, gcc 3.2.2. Any pointers would be highly appreciated!

	-----Original Message----- 
	From: Adrian Wu 
	Sent: Tue 2/10/2004 5:12 PM 
	To: 'rrd-users at list.ee.ethz.ch' 
	Subject: rrdtools compiles on SuSE SLES8 AMD64?


	Has anyone tried to compile rrdtool-1.0.46 on SuSE SLES8 for AMD64 ? I don’t have the compiler error messages off-hand, but it seems to be complaining about something in lib64. I am using gcc-3.2.2 (with x86_64 extensions).

	I will post the error messages later on today. 

	Thank you in advance. 

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list