Hi Bernard, Yesterday Bernard Li wrote:
> 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. 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 ... cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
