--- texk/web2c/luatexdir/luazlib/lzlib.corig	2024-02-27 17:02:40
+++ texk/web2c/luatexdir/luazlib/lzlib.c	2024-02-27 17:03:09
@@ -543,14 +543,6 @@
     };
 
     /* ====================================================================== */
-
-    /* make sure header and library version are consistent */
-    const char* version = zlibVersion();
-    if (strncmp(version, ZLIB_VERSION, 2))
-    {
-        lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version);
-        lua_error(L);
-    }
 
     /* create new metatable for zlib compression structures */
     luaL_newmetatable(L, ZSTREAMMETA);
