[rrd-users] rrdtools make error

Saravanan Chandhrasekar chandhra_sekar at hotmail.com
Sun Mar 23 22:55:17 CET 2008

Hi All,

I am not able to install rrdtools on my ubuntu box.

I am new to Linux as well as rrdtools.

I have followed the documentation given in rrdtools build section

First I installed all the libraries mentioned in the rrdtools build section and then set the environment variables for bash as given in the document.

Whenever I make rrdtools I am getting following error in the bottom

LD_RUN_PATH="/usr/local/lib" cc -shared -L/usr/local/lib RRDs.o -L../../src/.libs/ -Wl,--rpath -Wl,/usr/local/rrdtool-1.2.27/lib -lrrd -o blib/arch/auto/RRDs/RRDs.so \
-lm -lz -lfreetype \

/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1
make[3]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.27/bindings/perl-shared'
make[2]: *** [perl_shared] Error 2
make[2]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.27/bindings'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.27/bindings'
make: *** [install-recursive] Error 1

Please help


In a rush?  Get real-time answers with Windows Live Messenger.

More information about the rrd-users mailing list