Purebasic requires at least zlib-1.2.9, which can be installed later. On the developer system and the application system.
Today I set up a VM with Ubuntu 16.04.7 for testing.
Here are the instructions:
Ubuntu 16.04 and missing zlib 1.2.9
-----------------------------------
1. Download from "https://zlib.net/fossils/" "zlib-1.2.9.tar.gz"
2. Unpack *.gz
3. Open folder "zlib-1.2.9" into terminal
4. Do
./configure
make
sudo make install