configure出现这个问题,不要慌,我来告诉你怎么解决
根据字面意思,是libzip包有问题,且libzip应该大于0.11版本且不等于1.3.1或者1.7.0
什么是libzip?

Qt使用一些压缩解压功能,选择libzip库,libzip库比较原始,也是很多其他库的基础支撑库

卸载自带的libzip

yum remove libzip -y

获取libzip包

wget https://libzip.org/download/libzip-1.3.2.tar.gz

解压安装

tar zxf libzip-1.3.2.tar.gz
cd libzip-1.3.2/
./configure && make && make install

查看libzip位置

[root@VM-8-9-centos php-7.4.28]# whereis libzip
libzip: /usr/local/lib/libzip.la /usr/local/lib/libzip.a /usr/local/lib/libzip.so

配置libzip库,使configure可以找到它

export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/"

尝试执行PHP编译


注:从libzip1.4.0版本以上需要cmake编译安装,而且对cmake也有版本依赖,大部分情况需要先安装对应版本cmake,无特殊需求,1.3.2即可。

configure: error: Package requirements (libzip >= 0.11 libzip ≠ 1.3.1 libzip ≠ 1.7.0) were not met相关推荐

  1. configure: error: Package requirements (oniguruma) were not met

    configure: error: Package requirements (oniguruma) were not met 在Centos8环境中配置PHP出现如上报错: 原因是没有安装配置oni ...

  2. configure: error: Package requirements (sqlite3 」 3.7.4) were not met:

    configure: error: Package requirements (sqlite3 > 3.7.4) were not met: 原因: 在Centos8环境中配置php-7.4.1 ...

  3. configure: error: Package requirements (oniguruma) were not met: No package ‘oniguruma‘ found

    CentOS安装php7.4.* 提示 configure: error: Package requirements (oniguruma) were not met: No package 'oni ...

  4. configure: error: Package requirements (libwebp) were not met:

    configure: error: Package requirements (libwebp) were not met: 解决方法: yum install libwebp-devel

  5. PHP 7.4 configure error : Package requirements (zlib) were not met

    No package 'zlib' found apt-get install zlib1g-dev

  6. error: Package requirements (sqlite3 > 3.7.4) were not met:

    解决方法: ubuntu: sudo apt-get install libsqlite3-dev centos: yum install sqlite-devel

  7. configure error:Package requirements (openssl) were not met

    解决办法 sudo apt-get install libssl-dev

  8. 安装PHP7.4找不到包error: Package requirements (oniguruma) were not met错误

    wget https://github.com/kkos/oniguruma/archive/v6.9.4.tar.gz -O oniguruma-6.9.4.tar.gz tar -xvf onig ...

  9. 报错:Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met

    PHP7.4.20编译时报错: checking for zip archive read/write support... yes checking for libzip >= 0.11 li ...

最新文章

  1. http header头设置反向代理不缓存
  2. c语言在车辆工程专业中的用途,车辆工程专业培养目标与毕业要求(11页)-原创力文档...
  3. 监视Rails进程内存泄漏的技巧
  4. 基本上,把switch,用设计模式代替,肯定是bug和过度设计。想想,本来修改一个文件几行代码可以解决的问题,变成修改3-6个类才能实现一样的功能。不是傻是什么?...
  5. flutter ios打包_Flutter 的Android 、iOS 打包
  6. python 线性相关 与 线性拟合
  7. 遇到问题--HttpClient默认重试策略不处理SocketTimeoutException
  8. 什么是Harmony操作系统?华为新操作系统介绍
  9. Android小程序白屏,微信小程序在安卓的白屏问题原因及改进讲解
  10. 吐槽一下typora
  11. 原生实现点击li变颜色
  12. 第一章 Python初探
  13. Win10 插入前置耳机没有声音问题
  14. MIT JOS LAB12学习笔记
  15. Gensim训练维基百科词向量模型(含代码)
  16. Druid监控页面的配置和使用
  17. 嵌入式linux 更新源,openwrt如何修改为国内软件源
  18. (转)架构师已死(转自UML软件工程组织)
  19. echarts 地图上边画柱状图
  20. 民航大学计算机复试题,中国民航大学考研复试

热门文章

  1. 分治与减治算法实验:题目6 淘汰赛冠军问题
  2. php常用几种设计模式的应用场景
  3. 嵌入式数据库——SQLite
  4. 为啥就业这么难——聊聊我在培训机构的所见所闻
  5. python selenium 处理弹窗_python 让selenium(webdriver ) 不打开浏览器(弹出窗口)运行(静默模式启动)...
  6. Java并发编程的艺术pdf
  7. 今天使用gson json字符串转对象的时候,一直报错Unterminated object at line 1 column 14
  8. SQLServer求中位数
  9. ackman函数递归实现python_一个求ackerman函数的非递归算法
  10. pytorch中用plt画图需要转换为numpy格式