We can't yet remove the system zlib packages from the package installation branches in install-native-dependencies.sh because we don't yet consume an SDK version that includes zlib-ng.
If we remove them from this script, and we attempt to run it in a new machine, then try to build runtime with:
Follow up of https://github.com/dotnet/runtime/pull/105371
We can't yet remove the system zlib packages from the package installation branches in
install-native-dependencies.sh
because we don't yet consume an SDK version that includes zlib-ng.If we remove them from this script, and we attempt to run it in a new machine, then try to build runtime with:
We see this error:
Once we start consuming an SDK version that includes zlib-ng, we can remove those 3 references from the script:
zlib1g-dev
,zlib-devel
andzlib-dev
.https://github.com/dotnet/runtime/blob/c5b2dcd2967390a2ccc4546cdf3dbf5745d0b0d2/eng/install-native-dependencies.sh#L26-L33
And also remove mentions of zlib in the instructions:
https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/linux-requirements.md