Link issue with libdbi

Bernard Li <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
Hi all:

I'm trying to resolve a link issue with our software Ganglia with
libdbi-enabled RRDtool.

Specifically, when I bootstrap a Ganglia tarball on a RHEL system and
try to build the said tarball on a Ubuntu box, I get the following:

/bin/bash ../libtool --tag=CC   --mode=link gcc -std=gnu99 -I../lib
-I../gmond -I../include -D_LARGEFILE64_SOURCE
-DSYSCONFDIR='"/usr/local/etc"' -g -O2 -fno-strict-aliasing -Wall
-D_REENTRANT  -L/usr/lib -o gmetad gmetad.o cmdline.o data_thread.o
server.o process_xml.o rrd_helpers.o conf.o type_hash.o xml_hash.o
cleanup.o daemon_init.o ../lib/libganglia.la -lrrd -lm  -ldl -lnsl
-lnsl -lexpat -lconfuse -lapr-1 -lpthread
libtool: link: gcc -std=gnu99 -I../lib -I../gmond -I../include
-D_LARGEFILE64_SOURCE -DSYSCONFDIR=\"/usr/local/etc\" -g -O2
-fno-strict-aliasing -Wall -D_REENTRANT -o .libs/gmetad gmetad.o
cmdline.o data_thread.o server.o process_xml.o rrd_helpers.o conf.o
type_hash.o xml_hash.o cleanup.o daemon_init.o  -L/usr/lib
../lib/.libs/libganglia.so /usr/lib/librrd.so /usr/lib/libxml2.so
/usr/lib/libdbi.so -lpng12 /usr/lib/libpangocairo-1.0.so
/usr/lib/libpango-1.0.so /usr/lib/libcairo.so
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so
/usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so -lm -lnsl
/usr/lib/libexpat.so /usr/lib/libconfuse.so /usr/lib/libapr-1.so
-luuid -lrt -lcrypt -ldl -lpthread -pthread
gcc: /usr/lib/libdbi.so: No such file or directory
make: *** [gmetad] Error 1

/usr/lib/libdbi.so is provided by the libdbi0-dev package on Ubuntu so
I was wondering if the librrd-dev package should actually require
this.

If I bootstrap our tarball on a Ubuntu system, I do not have the same
issue.  The RHEL bootstrapped tarball also builds fine on RHEL.

Thoughts?

Thanks,

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.