** Impossible --enable-pcregrep-libz because zlib.h was not found

I am trying to install pcre-8.35 on Ubuntu. My problem is like this guy . I follow the same tutorial, but my problem is with the team from it. When I try to install, I get this error message: ** Cannot --enable-pcregrep-libz because zlib.h was not found I did some research and ran this command: sudo apt-get install --reinstall zlib1g But I still have the same problem. Help is appreciated!

0
source share
1 answer

In my case, I was able to solve this problem Cannot --enable-pcregrep-libz because zlib.h was not foundonly with this command:

sudo apt-get install zlib1g-dev

It's like advice given by Paul Griffiths

0
source

Source: https://habr.com/ru/post/1613675/


All Articles