amd64 compile of rrdtool ( relocation R_X86_64_32 error )

Steven Hartland killing at
Mon May 16 06:22:18 PDT 2005

When compiling rrdtool on amd64 I get the follow. Having read around about
the message I must say I'm none the wiser. I've tried adding -fPIC to the rrd_private
compile but that doesnt seem to have any effect. What am I missing?

/bin/sh /usr/local/bin/libtool15 --mode=link 
cc  -O -pipe -I/usr/local/include -L/usr/local/lib -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations 
 -Wnested-externs -Winline    -o  -static -fPIC gdpng.lo getopt.lo getopt1.lo gifsize.lo parsetime.lo 
pngsize.lo rrd_create.lo rrd_diff.lo rrd_dump.lo rrd_info.lo  rrd_error.lo rrd_fetch.lo rrd_format.lo rrd_graph.lo  rrd_last.lo 
rrd_open.lo rrd_resize.lo rrd_restore.lo  rrd_tune.lo rrd_update.lo rrd_xport.lo ../cgilib-0.4/ 
../gd1.3/   ../libpng-1.0.9/                   -lz -lm

rm -f blib/arch/auto/RRDs/
LD_RUN_PATH="" cc  -shared  -L/usr/local/lib RRDs.o -L../src/.libs/ -lrrd_private  -lz -lm -o blib/arch/auto/RRDs/
/usr/bin/ld: ../src/.libs//librrd_private.a(getopt.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

This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at

More information about the freebsd-ports mailing list