Re: iptables: undefined symbol: xtables_find_target_revision

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

 



Actually, because it's 'xtlibDIR', I believe the option should be
    --with-xtlibdir=/lib


On Sat, 13 Apr 2019 11:24:46 +0200
nhhabsburglothringen <nhhabsburglothringen@xxxxxxxxx> wrote:

> More interesting suggestion, very very thank.
> 
> Today I will try to compiling with the modifications suggested and I
> will send the result.
> 
> Actualy, in my sistem (debian 9):
> 
> in /lib I have the libxtables.so.12.2.0 and the directory xtables with
> all other
> library;
> 
> I have not the /usr/lib64;
> 
> in /lib64 I have only one symbolic link to ld-linux-x86-64.so.2 that
> point to /lib/x86_64-linux-gnu/ld-2.24.so.
> 
> I will try with and without the directive --libdir=/lib/x86_64-linux-gnu
> (that may is the correct pat for my 64bit library).
> 
> After done, I will report the result
> 
> Emy
> 
> 
> 
> Il 13/04/2019 02:42, Duncan Roe ha scritto:
> > 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.  
> 





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux