Re: recompile iptables

"Bruce Dubbs" ([email protected] via blfs-dev Mailing List) <[email protected]> Mon, 9 Mar 2026 12:28:58 -0500
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On 3/9/26 12:13 PM, Thomas Seeling ([email protected] via blfs-dev Mailing List) 
wrote:
> Hallo dear list,
> 
> I compiled a newer version of iptables per the BLFS book and got some nasty error 
> messages about loading the wrong version of a .so file when I tried to use the 
> iptables command.
> 
> I realized (with some help ...) that the directory /usr/lib/xtables should be removed 
> prior to compile iptables so that the linker does not pickup older version of modules.
> 
> I suggest this be added as a note to the iptables chapter.

Hmm.  I just built iptables-1.8.13 and did not have a problem on a BLFS-13.0 system 
and did not have a problem.  But then I did not have an earlier system.

I think what you are saying is that we need 'rm -rf /usr/lib/xtables' sometime before 
the 'make install' instruction.  Is that right?

   -- Bruce

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page