On Sun, 05 Jun 2016 12:30:50 GMT, Joseph Rushton Wakeling wrote:

Looks like there's a missing -L=-lz in there, perhaps ... ? Can anyone advise on how to handle this?

For the avoidance of doubt, zlib1g-dev 1.2.8 is installed.