1.configure: error: Please reinstall the libzip distribution
解决方案:
wget https://nih.at/libzip/libzip-1.2.0.tar.gz
tar -zxvf libzip-1.2.0.tar.gz
cd libzip-1.2.0
./configure
make && make install
2./usr/local/include/zip.h:59:21: fatal error: zipconf.h: No such file or dire
如图:
解决方案:cp /usr/local/lib/libzip/include/zipconf.h /usr/local/include/zipconf.h
然后重新make && make install