While compiling minimap 2 on Centos 7, I got his annoying error :
fatal error: zlib.h: No such file or directory
Missing dependency ! I wish some tool would help out and tell you, what library I was missing, so I could stop making these posts.
As to the solution :
yum install zlib-devel
for debian :
apt-get install libz-dev