Bug#581818: luatex: zlib version check too strict
On 16.05.10 Török Edwin (edwintorok@gmail.com) wrote:
Hi,
> If I install zlib1g 1.2.5 from experimental I get this error when running
> luatex:
> PANIC: unprotected error in call to Lua API (zlib library version
> does not match - header: 1.2.3.4, library: 1.2.5)
>
> I think the version check is too strict, it would suffice to check
> for 1.2.x. Why would luatex need to be rebuilt everytime zlib
> version is changed?
>
In earlier times the version check was untightened. Instead of
checking all chars of the zlib version, only 5 are checked:
/* make sure header and library version are consistent */
const char* version = zlibVersion();
if (strncmp(version, ZLIB_VERSION, 5))
We could re-introduce the patch. Can you confirm that a version
change from 1.2.3.4 to 1.2.5 is harmless? I can provide a test
binary for i386 if needed, sorry not amd64 with Debian unstable
around.
H.
--
sigmentation fault
Reply to: