Contents

rrd.h not found

Contents

I was trying to compile collectd on a old CentOS 6 host, and ./configure complained that rrdtool couldn’t be found; e.g.,

rrdtool . . . . . . . no (rrd.h not found)

I’d intended to use rrdtool to collect instance-level metrics and then graph ’em out with CGP, so it was pretty annoying. TIL that you can use -ql to list the files installed by a particular binary; e.g.

$ rpm -ql rrdtool-devel
package rrdtool-devel is not installed

I installed rrdtool-devel, and then lo and behold:

rrdtool . . . . . . . yes

References