Package Details: mingw-w64-zlib 1.3.2-2

Git Clone URL: https://aur.archlinux.org/mingw-w64-zlib.git (read-only, click to copy)
Package Base: mingw-w64-zlib
Description: Compression library implementing the deflate compression method found in gzip and PKZIP (mingw-w64)
Upstream URL: https://www.zlib.net/
Licenses: zlib
Submitter: ekpyron
Maintainer: xantares
Last Packager: xantares
Votes: 48
Popularity: 0.42
First Submitted: 2012-03-22 22:55 (UTC)
Last Updated: 2026-07-18 20:03 (UTC)

Latest Comments

1 2 3 Next › Last »

maksverver commented on 2026-07-18 22:52 (UTC)

Thank you!

xantares commented on 2026-07-18 20:03 (UTC)

ok, applied

Martchus commented on 2026-07-17 23:14 (UTC)

I created a symlink in my version: https://github.com/Martchus/PKGBUILDs/blob/master/zlib/mingw-w64/PKGBUILD

maksverver commented on 2026-07-17 22:46 (UTC)

I noticed that in the latest version of the PKGBUILD, libz.a gets installed as libzs.a instead. This is annoying because it breaks static builds that use -lz (which is how zlib is linked 99% of the time).

If there is a good reason for this change, could you at least add a symlink libz.a pointing at libzs.a to make static linking easier?

xantares commented on 2026-04-18 10:56 (UTC)

yes, thats bad, fixed

Martchus commented on 2026-04-18 10:13 (UTC)

Looks like the switch to CMake changed the library name from zlib1.dll to libz.dll. We should probably avoid that as we would otherwise have to rebuild a lot and we'd be inconsistent with MSYS2. Note that one can probably not just rename the library because the import libs would still point to libz.dll.

marzeq commented on 2024-08-09 08:26 (UTC) (edited on 2024-08-09 08:31 (UTC) by marzeq)

curl is being blocked from downloading zlib-1.3.1.tar.gz (presumably by CloudFlare), see my output:

$ makepkg -S
==> Making package: mingw-w64-zlib 1.3.1-1 (Fri 09 Aug 2024 10:25:23 CEST)
==> Retrieving sources...
  -> Downloading zlib-1.3.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1491  100  1491    0     0   4472      0 --:--:-- --:--:-- --:--:--  4464
==> Validating source files with sha256sums...
    zlib-1.3.1.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

$ ls
PKGBUILD  src  zlib-1.3.1.tar.gz

$ cat zlib-1.3.1.tar.gz

<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="robots" content="noindex, nofollow">
    <title>One moment, please...</title>
    <!-- ... -->
    </head>
<body>
  <!-- ... -->
</body>
</html>

mathiassteiger commented on 2023-08-23 14:10 (UTC)

tar.gz has moved from https://www.zlib.net/ to https://www.zlib.net/fossils/