zlib
TruffleRuby provides the zlib module but not the native zlib system library that the module uses.
sudo dnf install zlib-devel
sudo apt-get install libz-dev
On macOS the system version can be used.