iptables missing module - libipt_statistic.so not found?

Issues related to configuring your network
marco114
Posts: 2
Joined: 2007/09/11 12:05:48
Contact:

Re: iptables missing module - libipt_statistic.so not found?

Post by marco114 » 2010/12/15 04:30:42

getting lots of errors, first of all when I tried the cp line:

cp *patch iptables-1.3.5.tar.bz2 iptables.spec iptables.init /usr/src/redhat/SOURCES/

I got this:
/usr/src/redhat/SOURCES -> directory not found

so I created it. Then I had to install rpm-build package from yum.

After installing it and running the rpmbuild command, I got errors.... (last few lines shown):

+ cp ip6tables-save ip6tables-restore iptables-save iptables-restore /var/tmp/iptables-buildroot/sbin
+ cp iptables-restore.8 iptables-save.8 /var/tmp/iptables-buildroot/usr/share/man/man8
+ mkdir -p /var/tmp/iptables-buildroot/etc/rc.d/init.d
+ install -c -m755 /usr/src/redhat/SOURCES/iptables.init /var/tmp/iptables-buildroot/etc/rc.d/init.d/iptables
+ sed -e 's;iptables;ip6tables;g' -e 's;IPTABLES;IP6TABLES;g'
+ install -c -m755 ip6tables.init /var/tmp/iptables-buildroot/etc/rc.d/init.d/ip6tables
+ mkdir -p /var/tmp/iptables-buildroot/etc/sysconfig
+ install -c -m755 /usr/src/redhat/SOURCES/iptables-config /var/tmp/iptables-buildroot/etc/sysconfig/iptables-config
install: cannot stat `/usr/src/redhat/SOURCES/iptables-config': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.87507 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.87507 (%install)

jsosic
Posts: 24
Joined: 2009/02/13 15:00:00

Re: iptables missing module - libipt_statistic.so not found?

Post by jsosic » 2011/01/24 22:55:44

Hi.

You can still find my packages in SRCE repo if you don't know how to build your own:

http://ftp.srce.hr/redhat/extras/el5/x86_64/

Post Reply