From: Saravanan Chanemouganandam <schane@osmozis.com>
To: netfilter@vger.kernel.org
Cc: busybox@busybox.net, linux-arm@lists.arm.linux.org.uk
Subject: iptables - Couldn't load target error
Date: Wed, 19 Dec 2007 12:21:56 +0100 [thread overview]
Message-ID: <200712191221.58597.schane@osmozis.com> (raw)
Hi all,
I have some problem with iptables (v1.3.8) and extension supports libraries
installed to the buildroot's root filesystem (/lib/iptables) running on
Xscale pxa270.
iptables with MASQUERADE support throws Couldn't load target error. The
following strace shows that it tries to open libraries in the /lib and in
the /usr/lib instead of /lib/iptables.
Can anybody precise me, why it is not looking into /lib/iptables for the
dynamic libraries?
#strace iptables -t nat -A POSTROUTING -o br_wan -j MASQUERADE shows
....
open("/home/sara/BuildRoot/buildroot/project_build_arm/uclibc/root/lib/iptables/libipt_MASQUERADE.so",)
open("/lib/libipt_MASQUERADE.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libipt_MASQUERADE.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libipt_MASQUERADE.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
munmap(0x40006000, 698) = 0
write(2, "iptables", 8iptables) = 8
write(2, " v", 2 v) = 2
write(2, "1.3.8", 51.3.8) = 5
write(2, ": ", 2: ) = 2
write(2, "Couldn\'t load target `", 22Couldn't load target `) = 22
write(2, "MASQUERADE", 10MASQUERADE) = 10
write(2, "\':", 2':) = 2
write(2, "File not found", 14File not found) = 14
thanks
Sara
next reply other threads:[~2007-12-19 11:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-19 11:21 Saravanan Chanemouganandam [this message]
2007-12-19 11:56 ` iptables - Couldn't load target error Alexander Griesser
2007-12-19 12:48 ` Mike Frysinger
2007-12-20 10:03 ` Denys Vlasenko
2007-12-20 13:49 ` Saravanan Chanemouganandam
2007-12-20 17:26 ` Denys Vlasenko
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=200712191221.58597.schane@osmozis.com \
--to=schane@osmozis.com \
--cc=busybox@busybox.net \
--cc=linux-arm@lists.arm.linux.org.uk \
--cc=netfilter@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