All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* iptables: undefined symbol xtables_fini
@ 2020-08-15 11:37 Amiq Nahas
  0 siblings, 0 replies; only message in thread
From: Amiq Nahas @ 2020-08-15 11:37 UTC (permalink / raw
  To: netfilter-devel

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-15 21:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-15 11:37 iptables: undefined symbol xtables_fini Amiq Nahas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.