netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Yang Yang <kormny@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: How to fix 'undefined symbol: ip6tc_ops'
Date: Mon, 18 Jun 2012 11:39:18 +0200	[thread overview]
Message-ID: <20120618093918.GA27265@1984> (raw)
In-Reply-To: <CAMOvP7ec28fqR+H_tWUnhf3zDePLg6sQ1ajh+aLQPSYK-oVODw@mail.gmail.com>

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.

      parent reply	other threads:[~2012-06-18  9:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120618093918.GA27265@1984 \
    --to=pablo@netfilter.org \
    --cc=kormny@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).