[rrd-users] rrdtool 1.4.8 doesn't compile
Steve Shipway
s.shipway at auckland.ac.nz
Thu Feb 13 23:12:16 CET 2014
CCLD rrdcached
/usr/bin/ld: rrdcached-rrd_daemon.o: undefined reference to symbol 'g_tree_lookup'
//lib/x86_64-linux-gnu/libglib-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [rrdcached] Ошибка 1
make[2]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8'
make: *** [all] Ошибка 2
This is your issue. The g_tree_lokkup symbol is not found during the linking.
This symbol should be in the glib2 library. Check that you have glib2 and glib2-devel installed, and that they are version 2.x
Check where your libglib-2.0.so is located. In /lib ? Have you added this to your library path in the compile?
You should be able to run:
[root]# strings /lib/libglib-2.0.so | grep g_tree_lookup
g_tree_lookup
g_tree_lookup_extended
IA__g_tree_lookup_extended
IA__g_tree_lookup
[root]#
If not, then you seem to have an odd glib installed. Version 2.12 (32bit) and 2.22 (64bit) are the ones on our systems.
Steve
Steve Shipway
s.shipway at auckland.ac.nz
_______________________________________________
rrd-users mailing list
rrd-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5909 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20140213/f5bf090e/attachment-0001.bin
More information about the rrd-users
mailing list