zoukankan      html  css  js  c++  java
  • PHP配置Configure报错:Please reinstall the libzip distribution

    PHP配置Configure报错:Please reinstall the libzip distribution


    发生情景:

    php执行配置命令configure时,报如下错误:

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


     错误含义:

    没有找到libzip
    请重新安装libzip的dev包。


    尝试解决:

    (1)移除旧的libzip:

      yum remove libzip

    (2)安装新版本:

      curl-O https://libzip.org/download/libzip-1.5.1.tar.gz

      tar -zxvf libzip-1.5.1.tar.gz

      cd libzip-1.5.1

      mkdir build

      cd build

      cmake ..

      make && make install

    注意:如果提示cmake版本过低,需新版本,则需要重新安装cmake。

    注意:低版本的可能不需要cmake,例如1.2版本:

      curl-O 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


  • 相关阅读:
    网络协议 22
    网络协议 21
    网络协议 20
    网络协议 19
    网络协议 18
    网络协议 17
    网络协议 16
    网络协议 15
    网络协议 14
    .net 4.0 中的特性总结(五):并行编程
  • 原文地址:https://www.cnblogs.com/gyfluck/p/10478386.html
Copyright © 2011-2022 走看看