Skip to contentSkip to conversation

How to create a .so file

DISCUSSION [email protected] 2 participants 2 messages Jun 23, 2003 netfilter

lore
Share & tools
lore
#0 lore raw
	Hi, 
 
	When I try to use the mport module, I receive this message: 

iptables v1.2.5: Couldn't load match `mport':/usr/lib/iptables/libipt_mport.so:
cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

How can I create this .so file?

Regards,

Juan.

#1 lore raw
Quoted 8 lines · On Mon, 2003-06-23 at 02:59, [email protected] wrote:
	Hi, 
 
	When I try to use the mport module, I receive this message: 

iptables v1.2.5: Couldn't load match `mport':/usr/lib/iptables/libipt_mport.so:
cannot open shared object file: No such file or directory

Quoted 7 lines

Try `iptables -h' or 'iptables --help' for more information.

How can I create this .so file?

Regards,

Juan.

Hi Juan,

You've patched your kernel with the mport match, but you didn't recompile your iptables userspace application. Download the source tarball and compile it with the KERNEL_DIR variable pointing to the kernel source directory.

Also, watch out for /sbin/iptables & /usr/lib/iptables/... vs. /usr/local/sbin/iptables & /usr/local/lib/iptables/... mismatches when installing the newer iptables version.

Regards,
Filip