That’s because, in line with F40 Change Proposal: Transitioning to Zlib-ng as a compatible replacement for Zlib (System-Wide), zlib is now provided by zlib-ng, or more specifically by the zlib-ng-compat
package which provides the zlib compatible interface to zlib-ng.
3 Likes