I'm trying to install php zip module on my new Macbook M1, by using:
pecl install zip
After a while i'm getting this error:
configure: error: Please reinstall the libzip distribution
ERROR: `/private/tmp/pear/temp/zip/configure --with-php-config=/Applications/MAMP/bin/php/php7.4.15/bin/php-config' failed
So i run:
brew install libzip
And i get:
Warning: libzip 1.7.3 is already installed and up-to-date.
At this point i'm stucked. Any idea?
Thank you
xcode-select --install
and then try to install libzip developer packagexcode-select: error: command line tools are already installed, use "Software Update" to install updates
I tried to build libzip from source also, but after launching ./configure i still get:checking for libzip... not found.. configure: error: Please reinstall the libzip distribution