[rrd-users] rrdtool 1.4.8 doesn't compile

Steve Shipway s.shipway at auckland.ac.nz
Mon Feb 17 21:48:56 CET 2014


You need to try adding -lglib-2.0 to the end of you gcc command line when 
linking; something about your partilular version may have placed the options 
in the wrong order or have additional dependencies.

How to do this?  Well, you could try editing the src/Makefile ad find the line 
starting 'LDFLAGS = '; then add the option to the end of that line.

Or, when you run configure, set, some env vars first which should do this:

LDFLAGS="-lglib-2.0" LIBS="glib-2.0" ./configure

Then try and run make again to compile.

The rrdtool configure process is usually pretty good about taking account of 
dependencies and locations of files; not sure what might be going on here. 
Possibly you have a very different glib library version with different 
dependencies.

Steve

Steve Shipway
s.shipway at auckland.ac.nz

-------------- 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/20140217/0c1fb03c/attachment.bin 


More information about the rrd-users mailing list