[rrd-users] rrdtools make error

Carsten Aulbert carsten at welcomes-you.com
Mon Mar 24 09:51:31 CET 2008



Saravanan Chandhrasekar wrote:

> 
> 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
> 

Try installing the package

zlib1g-dev

that should resolve this issue.

HTH

Carsten



More information about the rrd-users mailing list