iptables: undefined symbol xtables_fini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using Linux 5.6.0-rc7 on Ubuntu 18.04.

Built iptables by following instructions at
http://www.linuxfromscratch.org/blfs/view/svn/postlfs/iptables.html
Basically used these commands:

`./configure --prefix=/usr      \
            --sbindir=/sbin    \
            --disable-nftables \
            --enable-libipq    \
            --with-xtlibdir=/lib/xtables &&
make`

`make install &&
ln -sfv ../../sbin/xtables-legacy-multi /usr/bin/iptables-xml &&

for file in ip4tc ip6tc ipq xtables
do
  mv -v /usr/lib/lib${file}.so.* /lib &&
  ln -sfv ../../lib/$(readlink /usr/lib/lib${file}.so) /usr/lib/lib${file}.so
done`


Now I am trying to add a rule
`iptables -I FORWARD -m conntrack --ctorigsrc 172.5.1.123 --ctproto
tcp -j MARK --set-mark 123`

I get this error
`iptables: symbol lookup error: iptables: undefined symbol: xtables_fini`

What am I doing wrong?



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux