summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_helper.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2013-01-01 22:47:51 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2013-01-02 22:46:45 +0100
commit68e77a26111ee6b8f10c735a76891a7de6d57ee6 (patch)
tree8636162a298901bf30ce03f44ae851b8fc573388 /extensions/libxt_helper.c
parenteec83c7ce4351359cae797840d63cf4ef2809c95 (diff)
build: resolve link failure for ip6t_NETMAP
Link stage of libip6t_NETMAP failed since recently. CCLD libip6t_NETMAP.so /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lip6tc libip6t_NETMAP.c uses the "ipv6_prefix_length" function from libip6tc.so; "-lip6tc" is used in the Makefile, but, the directory to it is not specified. Why does the link succeed for some people? Because /usr/lib(64)/libip6tc.so satisfies -lip6tc, but not all environments, especially those without iptables development files, have that file, hence this link error can happen. By suggestion of Mike Frysinger, this patch uses libtool to produce and link the plugins. Signed-off-by: Jan Engelhardt <jengelh@inai.de> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_helper.c')
0 files changed, 0 insertions, 0 deletions