iptables - Couldn't load target error
Saravanan Chanemouganandam
schane at osmozis.com
Wed Dec 19 11:21:56 UTC 2007
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
More information about the busybox
mailing list