Csuper Blog

网络是工具,不是玩具...............Good Luck To You!

CentOS 7 安装 libzip 1.5.2

 

CentOS 7 源码安装 libzip 1.5.2,解决 error: Please reinstall the libzip distributio 或 error: system libzip must be upgraded to version >= 0.11 错误。

1、准备编译环境

yum install openssl-devel bzip2 bzip2-devel

2、下载源码,并解压

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

3、编译安装

mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make
sudo make install

如果提示 cmake: command not found,需要先安装 cmake

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

«    2024年4月    »
1234567
891011121314
15161718192021
22232425262728
2930
控制面板
您好,欢迎到访网站!
  [查看权限]
网站分类
搜索
最新留言
文章归档
网站收藏
友情链接
    • RainbowSoft Studio Z-Blog
    • 订阅本站的 RSS 2.0 新闻聚合

    Powered By Z-BlogPHP 1.7.3

    Copyright Csuper All Rights Reserved.