On Tue, Oct 04, 2016 at 08:02:43PM +0100, Shish wrote: > > I ran "apt upgrade", collectd failed to restart, complaining that it > didn't understand the graphite section of the config file, because the > write_graphite plugin wasn't loaded. It recommended that I tried running > lld on the .so file, which I did, and it said that libyajl.so.2 was not > found. I ran apt install libyajl2, then it worked. I expect libyajl2 > should be marked as recommends rather than suggests, since not having it > will break currently working installations?
write_graphite should not be linked against libyajl ! Congrats, you found a genuine bug :-) I just submitted a patch upstream to fix this: https://github.com/collectd/collectd/pull/1976 In the meantime, installing libyajl2 should be harmless, and is probably the only possible workaround. Thanks for reporting this problem ! Marc