[rrd-developers] Link issue with libdbi
Martin Sperl
rrdtool at martin.sperl.org
Tue Feb 8 08:01:25 CET 2011
Sorry, but I have no access to an ubuntu system...
Martin
On 07.02.2011, at 23:58, Bernard Li wrote:
> 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:
>
> http://therealms.org/oss/ganglia/techpreview/ganglia-3.2.0.2466.tar.gz
>
> 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.
>
> Cheers,
>
> Bernard
More information about the rrd-developers
mailing list