错误信息
php7.4:No package 'libzip' found
解决方法一[已验证,可行]
下载较高版本libzip 1.2
wget https://libzip.org/uploads/article/libzip-1.2.0.tar.gz tar -zxvf libzip-1.2.0.tar.gz cd libzip-1.2.0 ./configure make && make install
修改变量
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/"
解决方案二【未验证】
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum —enablerepo=remi install libzip5-devel