On Sat, Apr 13, 2019 at 01:07:36AM +0200, nhhabsburglothringen wrote: > > > > -------- Messaggio Inoltrato -------- > Oggetto: Re: iptables: undefined symbol: xtables_find_target_revision > Data: Sat, 13 Apr 2019 00:56:20 +0200 > Mittente: nhhabsburglothringen <nhhabsburglothringen@xxxxxxxxx> > A: Duncan Roe <duncan_roe@xxxxxxxxxxxxxxx> > > > > Hi, thank you. > > I have test the 1.8.2 and the 1.8.0 with the same result. > > The older 1.6.2, working fine (I have completed the check). > > May be there are a bug ? > > Emy > > Il 10/04/2019 13:11, Duncan Roe ha scritto: > > On Wed, Apr 10, 2019 at 11:09:25AM +0200, nhhabsburglothringen wrote: > >> Seems to be a problem of version 1.8 because compiling the 1.6.2 whitout > >> any modify, all working fine (I reserve further checks but it seems to > >> be so). > >> > >> Can be a problem linked to the new name *legacy (maybe some library > >> don't recognize it). > >> > >> Any idea ? > >> > >> Emy > >> > >> Il 09/04/2019 21:14, nhhabsburglothringen ha scritto: > >>> Hi to all. > >>> > >>> I have compiled from source iptables v1.8.2 on debian 9 with a kernel > >>> 4.9.144-rt93 64bit also recompiled for enable use of imq as module and > >>> other stuff. > >>> > >>> no error configurig (./configure CFLAGS="-ggdb3 -O0 -DDEBUG" > >>> --prefix=/usr --sbindir=/sbin --enable-libipq --enable-bpf-compiler > >>> --with-xtlibdir=/lib/xtables) nor during compiling with make, but > >>> running when I try to write a rule (for example: iptables -I FORWARD -j > >>> port-filter (after iptables -N port-filter) if I type iptables -L I get > >>> this error: > >>> > >>> Chain INPUT (policy ACCEPT) > >>> target prot opt source destination > >>> > >>> Chain FORWARD (policy ACCEPT) > >>> target prot opt source destination > >>> > >>> iptables: symbol lookup error: iptables: undefined symbol: > >>> xtables_find_target_revision > >>> > >>> There are some person that can help me ? > >>> > >>> Thank in advance, > >>> > >>> Emilio > > -- > > Please avoid sending me Word or PowerPoint attachments. > > See http://www.gnu.org/philosophy/no-word-attachments.html > > > > 1.8.1 is latest. > > > > xtables_find_target_revision is supplied by libxtables.so.12.1.0 > > > > Hope that's some help, > > > > Cheers ... Duncan. > Hi Emy, Your ./config directive --with-xtlibdir=/lib/xtables looks wrong to me - I think it should be --with-xtlibdir=/lib/libxtables ~~~ Why do you think you need it anyway? I would miss it out. When building for 64-bit, I always include --libdir=/usr/lib64. Maybe some Makefiles look after that but it's in the SlackBuild template so I always use it. Cheers ... Duncan.