--- collectd-4.4.0.orig/configure 2008-05-26 17:54:07.000000000 +0200 +++ collectd-4.4.0/configure 2008-05-26 19:10:23.000000000 +0200 @@ -31551,7 +31551,7 @@ withval=$with_rrdtool; if test "x$withval" != "xno" && test "x$withval" != "xyes" then librrd_cflags="-I$withval/include" - librrd_ldflags="-L$withval/lib" + librrd_ldflags="-L$withval/lib -lz" with_rrdtool="yes" else with_rrdtool="$withval"