[rrd-users] RRDTools-1.2.26 compile error

Manuela Lima manuela at cbpf.br
Mon Mar 17 15:27:28 CET 2008

Hi again guys!

Now I'm trying to install the most updated version rrdtools-1.2.27,
but I had this error.

$./configure CPPFLAGS='-I/usr/local/include/freetype2  
-I/usr/local/include/libart-2.0' --prefix=/usr/local/rrdtool-1.2.27  

ranlib .libs/librrdupd.a
creating librrdupd.la
(cd .libs && rm -f librrdupd.la && ln -s ../librrdupd.la librrdupd.la)
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  
-fno-strict-aliasing -Wall -pedantic -Wshadow -Wpointer-arith  
-Wcast-align -Wmissing-prototypes -Wmissing-declarations  
-Wnested-externs -Winline -W  -fPIC -DPIC   -o librrd.la -rpath  
/usr/local/rrdtool-1.2.27/lib -version-info 2:13:0 hash_32.lo  
pngsize.lo rrd_create.lo rrd_dump.lo rrd_fetch.lo rrd_graph.lo  
rrd_graph_helper.lo rrd_last.lo rrd_lastupdate.lo rrd_first.lo  
rrd_resize.lo rrd_restore.lo rrd_tune.lo rrd_version.lo rrd_xport.lo  
art_rgba_svp.lo rrd_gfx.lo rrd_afm.lo rrd_afm_data.lo rrd_tool.lo  
librrdupd.la -lfreetype -lpng -lz -lart_lgpl_2 -lm
libtool: link: warning: library `/lib//libfreetype.la' was moved.
gcc -shared  .libs/hash_32.o .libs/pngsize.o .libs/rrd_create.o  
.libs/rrd_dump.o .libs/rrd_fetch.o .libs/rrd_graph.o  
.libs/rrd_graph_helper.o .libs/rrd_last.o .libs/rrd_lastupdate.o  
.libs/rrd_first.o .libs/rrd_resize.o .libs/rrd_restore.o  
.libs/rrd_tune.o .libs/rrd_version.o .libs/rrd_xport.o  
.libs/art_rgba_svp.o .libs/rrd_gfx.o .libs/rrd_afm.o  
.libs/rrd_afm_data.o .libs/rrd_tool.o -Wl,--whole-archive  
./.libs/librrdupd.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/lib/  
-Wl,--rpath -Wl,/lib/ /lib//libfreetype.so -lpng -lz -lart_lgpl_2 -lm   
-Wl,-soname -Wl,librrd.so.2 -o .libs/librrd.so.2.0.13
/lib//libfreetype.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [librrd.la] Error 1

And now? Any sugesstions?


Manuela Lima
Bolsista ITI - CAT/CBPF

CBPF WebMail - by CAT

More information about the rrd-users mailing list