Re: Link issue with libdbi

Martin Sperl <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
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 <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.