Plurrrr

Tue 18 Jun 2019

/usr/bin/ld: cannot find -lz

When building Net::SSLeay, a Perl module, on Ubuntu 19.04 the log contained the following error after the build process halted prematurely.

/usr/bin/ld: cannot find -lz

This was fixed by installing the zlib1g-dev package as follows:

sudo apt-get install zlib1g-dev