collectd is built against an old iptables version

Problems with packages? Post here, using [tags] of the package name.

collectd is built against an old iptables version

Postby Tub » Fri Jul 12, 2019 6:38 pm

Hello,

the arch x86 package had a pkgrel bump to rebuild with iptables-1:1.8.3 before the update to 5.9.0.

The arch arm package has been updated to 5.9.0, but it hasn't been built against the new iptables version. When the iptables plugin is used, collectd fails to start.

$this->bbcode_second_pass_code('', '
collectd[309]: dlopen("/usr/lib/collectd/iptables.so") failed: libip4tc.so.0: cannot open shared object file: No such file or directory. The most common cause for this problem is missing dependencies. Use ldd(1) to check the dependencies of the plugin / shared object.
collectd[309]: plugin_load: Load plugin "iptables" failed with status 2.
collectd[309]: Found a configuration for the `iptables' plugin, but the plugin isn't loaded or didn't register a configuration callback.
collectdmon[294]: Warning: collectd terminated with exit status 1
')

$this->bbcode_second_pass_code('', '
~> ldd /usr/lib/collectd/iptables.so
linux-vdso.so.1 (0x7ef23000)
libip4tc.so.0 => not found
libip6tc.so.0 => not found
libc.so.6 => /usr/lib/libc.so.6 (0x76e2b000)
/usr/lib/ld-linux-armhf.so.3 (0x76f88000)
')

$this->bbcode_second_pass_code('', '
~> ls -al /lib/libip4*
lrwxrwxrwx 1 root root 17 Jun 21 14:48 /lib/libip4tc.so -> libip4tc.so.2.0.0
lrwxrwxrwx 1 root root 17 Jun 21 14:48 /lib/libip4tc.so.2 -> libip4tc.so.2.0.0
-rwxr-xr-x 1 root root 22084 Jun 21 14:48 /lib/libip4tc.so.2.0.0
')

I'm on armv7h, but the packages for arm, armv6h and aarch64 all link against the old lib. The current x86 package correctly links against libip4tc.so.2 and works just fine.
Tub
 
Posts: 2
Joined: Fri Jul 12, 2019 6:02 pm

Return to Packages

Who is online

Users browsing this forum: No registered users and 13 guests