On Sat, Jun 19, 2010 at 2:51 PM, Hilmar Preusse
<hille42@web.de> wrote:
Dear Tiago,
as far as I can see, you're the author of "lzlib - Lua 5 interface to
access zlib library functions", which is used by luatex. The file
lzlib.c contains the following code to check the installed zlib
version:
/* make sure header and library version are consistent */
const char* version = zlibVersion();
if (strncmp(version, ZLIB_VERSION, 5))
{
lua_pushfstring(L, "zlib library version does not match - header: %s, li
lua_error(L);
}
The version check is very strict, it checks even the minor version of
the zlib. This causes a disfunction in luatex in case people upgrade
their zlib version (see http://bugs.debian.org/581818 and friends).
Is there a specific reason why the check is that strict? Do you
think it is possible to untighten it and check only the major version
of the zlib (i.e. turn the 5 above into a 3)?
Many thanks,
Hilmar
--
sigmentation fault