When building iptables, we can use "configure" to specify the xtables
extension install path by "prefix" or "withxtlibdir". And when we
running the iptables, iptables seems to search for the xtables extension
libraries only in the path that was specified by "configure". If we move
the xtables extension libraries to some other place, iptables will
report failing to load the "so" files.
Because I'm doing cross compiling, and I will place the xtables
extension libraries in the target board, and the final path might be
different than the "configure" path. Do you know how to make iptables to
load the correct xtables extensions?
Thanks.
Hi Xing,
I'm having the same issue. I'm able to cross compile but when I install
to another file system the libraries always look at the absolute path which
is not valid anymore. How did you get around the issue?
One possible solution to this (though not ideal by any means!) is to use
modprobe and force the .so files to be loaded in advance as soon as the
system is initialised (possibly through rc.sysinit). This is how I've
got around the above problem as I also have a group of machines which
use non-standard directories for xtables and ipset.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html