--- a/configure +++ b/configure @@ -31446,7 +31446,7 @@ if test "${with_rrdtool+set}" = set; the 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"