Skip to content

fix: install zlib1g before running DataTableTool in CI#414

Merged
AconiteX merged 1 commit into
SWG-Source:masterfrom
nickk02:fix/datatabletool-missing-zlib
May 18, 2026
Merged

fix: install zlib1g before running DataTableTool in CI#414
AconiteX merged 1 commit into
SWG-Source:masterfrom
nickk02:fix/datatabletool-missing-zlib

Conversation

@nickk02

@nickk02 nickk02 commented May 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Every pull request that touches .tab files is currently failing CI with:

DataTableTool: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
build.xml:118: apply returned: 127

The ubuntu-latest runner upgraded to Ubuntu 24.04, which does not include zlib1g by default. The DataTableTool binary links against libz.so.1 and crashes immediately without it.

The fix is a single apt-get install -y zlib1g added to the Setup System Requisites step before ant is invoked.

Test plan

  • Verify any tab-file PR passes the Build Data Tables CI check after this merges

The DataTableTool binary links against libz.so.1 but the ubuntu-latest
runner (Ubuntu 24.04) does not ship zlib1g by default. This causes every
tab-file PR to fail immediately with:

  DataTableTool: error while loading shared libraries: libz.so.1:
  cannot open shared object file: No such file or directory

Adding an explicit apt-get install step before the chmod ensures the
shared library is present before ant invokes the tool.
@AconiteX
AconiteX merged commit 6467f16 into SWG-Source:master May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants