configure: error: Please reinstall the libzip distribution

Tobias Gassmann picture Tobias Gassmann · Aug 19, 2017 · Viewed 58.2k times · Source

I am getting this error, when trying to install Zip for PHP 7:

pecl install zip

yields the error

configure: error: Please reinstall the libzip distribution

I did not find anything related to this error.

I tried apt-get install libzip but the package was not found.

Answer

Tobias Gassmann picture Tobias Gassmann · Aug 19, 2017

Solved it:

apt-get install libzip-dev

will install the missing libzip-distribution