--- src/Makefile.am.orig 2012-05-07 18:58:56.000000000 +0200 +++ src/Makefile.am 2012-05-07 19:05:57.000000000 +0200 @@ -447,7 +447,7 @@ iptables_la_SOURCES = iptables.c iptables_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBIPTC_CPPFLAGS) iptables_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBIPTC_LDFLAGS) -iptables_la_LIBADD = -liptc +iptables_la_LIBADD = -lip4tc -lip6tc collectd_LDADD += "-dlopen" iptables.la collectd_DEPENDENCIES += iptables.la endif