[collectd] collectd, librrd and CentOS

Florian Forster octo at verplant.org
Mon May 14 16:05:58 CEST 2007


Hi Matt,

On Mon, May 14, 2007 at 09:56:09AM +1000, Matt Bottrell wrote:
> > As you can see above Richard has provided CentOS 5 packages which
> > you can use if you want to.
> Are these compiled against rrdtool?   I need to run in local mode
> hence the reason I am attempting to compile them.

I guess so. Or rather, I think that Richard would have pointed this out
if they weren't.

> Hopefully something in the config.log points to why it's not being found.

> configure:35626: checking for rrd_update in -lrrd
> configure:35661: gcc -o conftest -g -O2  -I/usr/include  -L/usr/lib conftest.c -lrrd -lm  >&5
> /usr/lib/librrd.so: undefined reference to `png_destroy_read_struct at PNG12_0'
> /usr/lib/librrd.so: undefined reference to `png_create_info_struct at PNG12_0'
> ...

From the look of it I'd say that the file /usr/lib/librrd.so is not
linked against `libpng'. Which rrdtool package did you use? I didn't
find one in the main CentOS repository. Could you run
`ldd /usr/lib/librrd.so' and look for a line with `libpng' in it? If
there is such a line I'm most likely wrong..

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070514/a3dad742/attachment.pgp 


More information about the collectd mailing list