[collectd] collectd patches

Oleg King king2 at kaluga.ru
Mon Apr 28 16:31:55 CEST 2008


> oh, sorry, I forgot about this. Unfortunately we cannot simply link
> against libdevstat because there is a libstatgrab - the version that
> comes with Debian, for example, doesn't need libdevstat. Also,
> apparently there are at least two versions of libdevstat - checking for
> just one simbol always breaks at least one of them.

> I think the way to go is to ask libstatgrab what libraries it needs.
> This can be done using `pkg-config', like:
>  $ pkg-config --libs libstatgrab
> Could you run that command on your machine and see (a) if it works and
> (b) if it provides all required libraries?

I run this command on FreeBSD and got output:

test# pkg-config --libs libstatgrab
-L/usr/local/lib -lstatgrab -ldevstat  

> I'll commit a patch for this soon, so you should be able to test the
> change using the Git repository in an hour or so.

OK, I will wait :)

 Oleg                          mailto:king2 at kaluga.ru

More information about the collectd mailing list