retitle 531352 collectd: netlink plugin missing on amd64 (et.al.) thanks Hi Marcos,
On Sun, May 31, 2009 at 06:08:15PM -0300, Marcos Taschelmayer wrote: > Architecture: amd64 [...] > # /etc/init.d/collectd restart > Restarting statistics collection and monitoring daemon: collectdCould > not find plugin netlink. Yep - that's a known problem. The netlink plugin requires libnetlink which is only available as a static library compiled without -fPIC (position independent code). Some (most?) architectures, like amd64, do not allow to link such object files into shared libraries. See [1] for some more details about this problem. So, unfortunately, I'm currently unable to provide the netlink plugin on those architectures. There are two ways how to resolve that issue: Either, include libnetlink in collectd and build it with -fPIC or let the iproute package provide a shared library as well. Including the sources in collectd would not be hard but I don't really like that option since that would duplicate code and efforts. I've talked to the iproute maintainer before and he told me that a shared library would not be an option. It might be worth talking to the iproute upstream developers about that though - maybe they are willing to support a shared object some time in the future which could then be included in the Debian package as well. Do you want to give that a try? Cheers, Sebastian [1] http://collectd.org/faq.shtml#faq:static_libs -- Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
signature.asc
Description: Digital signature