借鉴:
https://blog.csdn.net/qq_39034363/article/details/90547741
https://www.cnblogs.com/Julian-Chen/p/9449360.html

本文教大家ubuntu系统安装php的扩展 libzip

正文

我在执行

./configure

最后的报错信息

checking for libzip... not found
configure: error: Please reinstall the libzip distribution

解决:
去官网下载找最新版本上传服务器

我这里直接复制链接地址,然后下载到服务器上

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

下载好之后

tar -zxvf libzip*.gz进入目录

这时执行
./configure
是会失败的

需要找一个config.m4文件 到需要编译的目录

然后执行phpize

然后

cd build
cmake ..

如果提示,就更新
借鉴:https://blog.csdn.net/banyu0052/article/details/101946336
我这里直接用apt安装了

apt-get install cmake -y

如果报错

  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)/usr/share/cmake-3.10/Modules/FindZLIB.cmake:112 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)CMakeLists.txt:174 (FIND_PACKAGE)

解决

apt-get install libhdf5-serial-dev hdf5-tools

继续

make && make install

至此 教程结束

有问题可以私信我,每天都会看

ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure相关推荐

  1. 【Nginx】configure 报错checking for C compiler … not found

    编译安装在执行./configure步骤报错,是因为缺少环境变量 checking for C compiler - not found ./configure: error: C compiler ...

  2. ubuntu上gem安装sinatra报错解决办法

    项目来源:<第一本docker书>101页上的Dcokerfile示例, 执行到step6:RUN gem install --no-rdoc --no-ri sinatrajson re ...

  3. gem 安装oxidized-web报错:checking for -licui18n... no处理

    在centos7服务器上安装oxidized-web时,一直提示错误: Building native extensions. This could take a while... ERROR: Er ...

  4. Ubuntu 18.04安装bm3d报错

    bm3d https://github.com/ericmjonas/pybm3d PyBM3D is supported for Linux and OSX and Python 2.7 and 3 ...

  5. php配置libzip,PHP配置Configure报错:Please reinstall the libzip distribution

    PHP配置Configure报错:Please reinstall the libzip distribution 发生情景: php执行配置命令configure时,报如下错误: checking ...

  6. open with code 报错没有项目_Python开发:解决Ubuntu安装tesserocr报错

    tesserocr是Python的一个OCR库, 其中OCR指的是光学字符识别,是指通过扫描字符,然后通过其形状将其翻译成电子文本的过程. tesserocr是tesseract做的一层Python ...

  7. Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform

    解决Ubuntu安装tensorflow报错:tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this ...

  8. ubuntu安装celery报错 encountered error while generating package metadata

    ubuntu安装celery报错 encountered error while generating package metadata Preparing metadata (setup.py) . ...

  9. Ubuntu安装docker报错:Package ‘docker-ce‘ has no installation candidate

    Package 'docker-ce' has no installation candidate Ubuntu 20.04.3 安装docker报错 报错一: E: Package 'docker- ...

最新文章

  1. FDDWNET:模型参数仅为0.8M,速度和准确率综合性能在轻量级分割网络中达到SOTA
  2. 2015年浪潮面试题
  3. 面试题:1 到 1000 之间有多少个 7?
  4. 绝对路径用什么符号表示?当前目录、上层目录用什么表示?主目录用什么表示? 切换目录用什么命令?
  5. python面试题之简要描述Python的垃圾回收机制(garbage collection)
  6. Mysql笔记——DQL
  7. 华为交换机实操系列(资源)
  8. DiskCatalogMaker for Mac(磁盘管理工具)
  9. Glide4.0源码全解析(二),load()背后的故事
  10. ASCII码16进制对照表
  11. 英文名字及意义(超全)
  12. 凤凰网科技频道定位和主要内容
  13. 一级造价工程师(安装)- 计量笔记 - 第五章第二节通风空调工程
  14. 谷歌浏览器不支持ocx控件
  15. 算力进化!新华三打造“一体·两中枢”全新智慧计算体系
  16. 简单的爬取某租房网站租房信息并存入MySQL数据库
  17. 【微信小程序】./miniprogram\ 未找到 [1.06.2210141][win32-x64]错误
  18. 苹果手机上滑动会卡顿_7种办法解决苹果手机卡顿 让你的手机用起来如丝般顺滑...
  19. 常见的网站推广方法有哪些?
  20. python中split()函数讲解

热门文章

  1. psim软件c语言,PSIM入门实例
  2. 《移动通信》多章节部分重要习题(简答、单选、判断)
  3. Sublime Text - 中文汉化
  4. elementUI table多级表头固定列
  5. FPGA实现CAN通信CRC校验
  6. .NET程序集版本搜索分析
  7. 电池内阻测试仪软件,fluke BT500 系列蓄电池内阻分析仪| 福禄克 | 福禄克
  8. 【步兵 cocos2dx】四叉树碰撞算法
  9. codecombat极客战记森林1-20关
  10. 慢启动和拥塞避免算法