[rrd-developers] Link issue with libdbi

Bernard Li bernard at vanhpc.org
Mon Feb 7 23:58:31 CET 2011

Hi Martin:

On Sun, Feb 6, 2011 at 7:43 AM, Martin Sperl <rrdtool at martin.sperl.org> wrote:

> a) link with the absolute path to link the so library and not use "-l rrd"

Actually if you take a look at the log from my original message, it is
using -lrrd.

> b) you need to explicitly linkt libdbi again, if your code is not using it.

Our code is not using it, but I guess somehow when it was bootstrapped
on the RHEL box, it added this dependency

I think you would be able to understand the situation a bit better if
you were to try to build the tarball yourself:


On a Ubuntu system w/ librrd-dev installed (with libdbi support), run
./configure --with-libpcre=no --with-gmetad

then run make, and you should get the error I've encountered.

Much appreciated.



More information about the rrd-developers mailing list