Opened 5 months ago

Last modified 7 weeks ago

#4986 new enhancement

zlib-ng-2.0.6 (wait for decision)

Reported by: Xi Ruoyao Owned by: lfs-book
Priority: lowest Milestone: Future
Component: Book Version: git
Severity: normal Keywords:


zlib-ng ( is a zlib replacement with optimizations for modern systems. It can be built & installed as a zlib drop-in replacement with

./configure --prefix=/usr --zlib-compat
make install
rm -v /usr/lib/libz.a

I've installed it (overwriting zlib) on my BLFS system and no regression is observed so far.

Change History (5)

comment:1 by Xi Ruoyao, 5 months ago

Priority: lowlowest

comment:2 by Tim Tassonis, 5 months ago

At first, I thought this is yet another unneeded fork for dubious reasons, but after reading the docu, it seems this a non-hostile fork motivated by merging of new optimisation and code clean-up due to dropping very old platforms and compilers.

So, I think I will give this a try as well.

comment:3 by Berzerkula, 3 months ago

Researching this author's work, they fork a lot of projects. Keep watch on this work. Shouldn't be taken lightly.

comment:4 by Bruce Dubbs, 3 months ago

The current zlib seems pretty solid. We really don't use it much any more as xz seems to be the most used compression system today. Unless a security issue comes up in zlib, I don't think it is broken and there is little benefit in changing.

comment:5 by Berzerkula, 7 weeks ago

If it does provide some significant improvement in performance, I have a system built with both Gnome and KDE/Plasma, with most, if not all dependencies (many not in book, too). This results in about 754 binaries and libraries linked to zlib. So if we do update to zlib-ng, it will affect many packages which link to zlib.

Last edited 7 weeks ago by Berzerkula (previous) (diff)
Note: See TracTickets for help on using tickets.