[Dev-luatex] zlib version check

Ulrich Mueller ulm at gentoo.org
Thu Aug 2 05:57:10 CEST 2012


>>>>> On Thu, 2 Aug 2012, Norbert Preining wrote:

>> - LuaTeX will refuse to run after every minor upgrade of zlib (e.g.
>if upgrading from zlib-1.2.6 to zlib-1.2.7) and needs to be rebuild.

> Right, .. now that you mention it, we have a patch like that in
> Debian since long:

I know. See <https://bugs.gentoo.org/show_bug.cgi?id=310487#c13>, and
following comments there.

>> So, would it be possible to remove the check for the zlib version?
>> See patch included below.

> Not good, why not check only the first three items, that should be
> fine. In Debian we do since long:

As I said before, the version is already checked by the dynamic linker
(via soname) and by zlib's deflateInit* and inflateInit* functions.
There's no need to check it for a third time (and in a manner that is
different from that in zlib itself).

Ulrich


More information about the dev-luatex mailing list