Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 706 Bytes

2018-05-07-fatal-error-zlib-h-no-such-file-or-directory.md

File metadata and controls

33 lines (22 loc) · 706 Bytes
title author date url thumbnail categories tags
fatal error: zlib.h: No such file or directory
svennd
2018-05-07 08:15:28 +0000
/fatal-error-zlib-h-no-such-file-or-directory/
/img/2021/03/simon-stratford-_ILkd7aVqAM-unsplash.jpg
Linux
SysAdmin
centos

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