SvennD
fatal error: zlib.h: No such file or directory
May 7, 2018

fatal error: zlib.h: No such file or directory

Posted on May 7, 2018  •  1 minutes  • 60 words  •  Suggest Changes

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

 

 

Support

If you enjoyed this website, consider buying me a Dr. Pepper

Buy me a Dr PepperBuy me a Dr Pepper