Re: Link issue with libdbi

Martin Sperl <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
Hi Bernard!

Do you need to link against libdbi explicitly for Ganglia?
the linker should take care of the dependencies for libdbi when loading librrdtool.so
Try to remove it for the /usr/lib/libdbi.so (or replace it with -ldbi instead)

Martin


On 03.02.2011, at 19:56, Bernard Li wrote:

> Hi Tobi:
> 
> On Wed, Feb 2, 2011 at 9:53 PM, Tobias Oetiker <[email protected]> wrote:
> 
>> this is odd, since configure checks if libdbi is available or not
>> ... so it should not try to link against it if it is not around ...
> 
> Just to clarify, I'm *not* trying to build RRDtool but Ganglia with
> requires RRDtool during build.  The issue is that for some
> /usr/lib/libdbi.so is needed during build on Ubuntu when the tarball
> is bootstrapped on RHEL5+.  I'm not even sure if the issue is with
> RRDtool but just thought I'd post here to see if anybody has any
> hints.  Perhaps I should try building Cacti against a RRDtool with
> libdbi support to see if I get the same issue...
> 
> Thanks!
> 
> Bernard
> 
> _______________________________________________
> rrd-developers mailing list
> [email protected]
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
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.