netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to fix 'undefined symbol: ip6tc_ops'
@ 2012-06-18  2:46 Yang Yang
  2012-06-18  6:45 ` Yang Yang
  0 siblings, 1 reply; 4+ messages in thread
From: Yang Yang @ 2012-06-18  2:46 UTC (permalink / raw)
  To: netfilter-devel

Hi,

Actually I've posted this question to 'netfilter@vger.kernel.org', but
I didn't get an answer. So I'm looking for help here.

I just have cross compiled iptables for my ARM-Linux board, but when I
tried run it, the error 'iptables: symbol lookup error: iptables:
undefined symbol: ip6tc_ops' occurred.

I have no idea how to fix it, is there anyone can help?

here're the details:

s3c6410 (ARM11)
Linux-3.0.1
iptables-1.4.14
commad: iptables
Error : iptables: symbol lookup error: iptables: undefined symbol: ip6tc_ops

Thanks.
--------
Regards,
Yang Yang

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to fix 'undefined symbol: ip6tc_ops'
  2012-06-18  2:46 How to fix 'undefined symbol: ip6tc_ops' Yang Yang
@ 2012-06-18  6:45 ` Yang Yang
  2012-06-18  9:31   ` Jan Engelhardt
  2012-06-18  9:39   ` Pablo Neira Ayuso
  0 siblings, 2 replies; 4+ messages in thread
From: Yang Yang @ 2012-06-18  6:45 UTC (permalink / raw)
  To: netfilter-devel

Hi,

2012/6/18 Yang Yang <kormny@gmail.com>:
> Hi,
>
> Actually I've posted this question to 'netfilter@vger.kernel.org', but
> I didn't get an answer. So I'm looking for help here.
>
> I just have cross compiled iptables for my ARM-Linux board, but when I
> tried run it, the error 'iptables: symbol lookup error: iptables:
> undefined symbol: ip6tc_ops' occurred.
>
> I have no idea how to fix it, is there anyone can help?
>
> here're the details:
>
> s3c6410 (ARM11)
> Linux-3.0.1
> iptables-1.4.14
> commad: iptables
> Error : iptables: symbol lookup error: iptables: undefined symbol: ip6tc_ops
>
> Thanks.
> --------
> Regards,
> Yang Yang

This time I've tried to use iptables-1.4.3.1, and it works. I believe
there is some bug in some latest version of iptables. (
iptables-1.4.13 didn't work either )

--------
Regards,
Yang Yang

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to fix 'undefined symbol: ip6tc_ops'
  2012-06-18  6:45 ` Yang Yang
@ 2012-06-18  9:31   ` Jan Engelhardt
  2012-06-18  9:39   ` Pablo Neira Ayuso
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2012-06-18  9:31 UTC (permalink / raw)
  To: Yang Yang; +Cc: netfilter-devel


On Monday 2012-06-18 08:45, Yang Yang wrote:
>>
>> Actually I've posted this question to 'netfilter@vger.kernel.org', but
>> I didn't get an answer. So I'm looking for help here.

You did get an answer, from myself
( http://marc.info/?l=netfilter&m=133992686911732&w=2 )

>> I just have cross compiled iptables for my ARM-Linux board, but when I
>> tried run it, the error 'iptables: symbol lookup error: iptables:
>> undefined symbol: ip6tc_ops' occurred.

So again, what have you _actually_ done? Telling us that you
"ran iptables" is certainly not the whole picture.

You compiled it yourself, so send _complete_ logs, not just a summary in 
the style intended for {users with less of a technical background}.


>> commad: iptables
>> Error : iptables: symbol lookup error: iptables: undefined symbol: ip6tc_ops
>
>This time I've tried to use iptables-1.4.3.1, and it works. I believe
>there is some bug in some latest version of iptables. (
>iptables-1.4.13 didn't work either )

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to fix 'undefined symbol: ip6tc_ops'
  2012-06-18  6:45 ` Yang Yang
  2012-06-18  9:31   ` Jan Engelhardt
@ 2012-06-18  9:39   ` Pablo Neira Ayuso
  1 sibling, 0 replies; 4+ messages in thread
From: Pablo Neira Ayuso @ 2012-06-18  9:39 UTC (permalink / raw)
  To: Yang Yang; +Cc: netfilter-devel

On Mon, Jun 18, 2012 at 02:45:14PM +0800, Yang Yang wrote:
> Hi,
> 
> 2012/6/18 Yang Yang <kormny@gmail.com>:
> > Hi,
> >
> > Actually I've posted this question to 'netfilter@vger.kernel.org', but
> > I didn't get an answer. So I'm looking for help here.
> >
> > I just have cross compiled iptables for my ARM-Linux board, but when I
> > tried run it, the error 'iptables: symbol lookup error: iptables:
> > undefined symbol: ip6tc_ops' occurred.
> >
> > I have no idea how to fix it, is there anyone can help?
> >
> > here're the details:
> >
> > s3c6410 (ARM11)
> > Linux-3.0.1
> > iptables-1.4.14
> > commad: iptables
> > Error : iptables: symbol lookup error: iptables: undefined symbol: ip6tc_ops
> >
> > Thanks.
> > --------
> > Regards,
> > Yang Yang
> 
> This time I've tried to use iptables-1.4.3.1, and it works. I believe
> there is some bug in some latest version of iptables. (
> iptables-1.4.13 didn't work either )

I hitted that problem time ago due to mismatching versions of
libxtables and iptables.

My iptables binary was using an old version of libxtables which did
not contain that symbol. I removed the old library, then run
`ldconfig' and the binary was using the new library and the problem
was gone.

You can verify that iptables uses the correct library with `ldd' (just
to make sure what library your binary is using).

Probably your error is gone because you have overwritten the ancient
shared library file.

This is an unfortunate issue that may happen if you have two
installation of iptables located in different directories.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-18  9:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18  2:46 How to fix 'undefined symbol: ip6tc_ops' Yang Yang
2012-06-18  6:45 ` Yang Yang
2012-06-18  9:31   ` Jan Engelhardt
2012-06-18  9:39   ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).