CentOS7安装libzip1.5.2 2019年6月12日byadmin0评论 CentOS7源码安装libzip1.5.2,解决error:Pleasereinstallthelibzipdistributio或error:systemlibzipmustbeupgradedtoversion>=0.11错误。1、准备编译环境yum install openss...
by ·0评论
CentOS 7 源码安装 libzip 1.5.2,解决 error: Please reinstall the libzip distributio
或 error: system libzip must be upgraded to version >= 0.11
错误。
yum install openssl-devel bzip2 bzip2-devel
wget https://libzip.org/download/libzip-1.5.2.tar.gztar -zxf libzip-1.5.2.tar.gz cd libzip-1.5.2
备用下载地址:https://down.24kplus.com/linux/libzip-1.5.2.tar.gz
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make sudo make install
如果提示 cmake: command not found
,需要先安装 cmake。