(C++) zlib.h: No such file or directory

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) zlib.h: No such file or directory

 

Install error that can occur when installing Boost.

 

After doing the following, the error pops up:

 


./bootstrap ./bjam --build-dir=/tmp/build-boost toolset=gcc stage

 

Solution: install zlib1g-dev:

 


sudo apt-get install zlib1g-dev

 

 

 

 

 

 

Contents

  1. 1./bootstrap ./bjam --build-dir=/tmp/build-boost toolset=gcc stage
  2. 2sudo apt-get install zlib1g-dev