Skip to content

Windows CI binary build fails due to zlib 1.3.2 library naming change #514

@GhostPirateBob

Description

@GhostPirateBob

The build-executable workflow fails on Windows because zlib 1.3.2 changed its cmake output file names:

Old (<=1.3.1) New (1.3.2)
zlibstatic.lib zs.lib
zlib.lib z.lib
zlib.dll z.dll

SPC's zlib builder expects the old names, so the static library never gets installed correctly. PHP's configure can't find zlib, and the final link fails with 12 unresolved symbols (inflate, deflate, etc.) from curl, openssl, and libssh2.

libcurl_a.lib(content_encoding.obj) : error LNK2019: unresolved external symbol inflate
libcurl_a.lib(content_encoding.obj) : error LNK2019: unresolved external symbol deflateEnd
...

Upstream issue filed: crazywhalecc/static-php-cli#1039

In the meantime the workflow needs a workaround to rename the files and re-run configure + nmake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions