Re: recompile iptables

"Randy McMurchy" ([email protected] via blfs-dev Mailing List) <[email protected]> Mon, 9 Mar 2026 12:52:04 -0500
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On 3/9/2026 12:28 PM, Bruce Dubbs ([email protected] via blfs-dev 
Mailing List) wrote:
> On 3/9/26 12:13 PM, Thomas Seeling ([email protected] via 
> blfs-dev Mailing List) wrote:
>> 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?
>
Sorry I haven't hit iptables yet, I'm away from home tending to a sick 
sister and injured wife. I'll have the sysV stuff ready soon, I'm just 
sort of busy right now playing nurse. I'm certain you folks understand 
my dilemma.

-- 
Randy

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