zoukankan      html  css  js  c++  java
  • CentOS 7 编译错误解决方法集合

    解决 error: the HTTP XSLT module requires the libxml2/libxslt 错误

    yum -y install libxml2 libxml2-dev
    yum -y install libxslt-devel

    解决 error: the HTTP image filter module requires the GD library. 错误

    yum -y install gd-devel

    解决 error: the GeoIP module requires the GeoIP library. 错误

    yum -y install GeoIP GeoIP-devel GeoIP-data

    解决 error: the Google perftools module requires the Google perftools 错误

    yum -y install gperftools

    解决 error: libatomic_ops library was not found. 错误

    yum -y install libuuid-devel libblkid-devel libudev-devel fuse-devel libedit-devel libatomic_ops-devel

    解决 error trying to exec 'cc1plus': execvp: No such file or directory 错误

    yum -y install gcc-c++

    解决 error: [pool www] cannot get uid for user 'www-data' 错误

    groupadd www-data
    useradd -g www-data www-data

    解决configure: error: mbed TLS libraries not found. 错误。

    需要安装mbedtls,教程:https://www.24kplus.com/linux/281.html

    解决 error: Cannot find OpenSSL's <evp.h> 错误

    yum install openssl openssl-devel
    ln -s /usr/lib64/libssl.so /usr/lib/

    解决 error: Libtool library used but 'LIBTOOL' is undefined 错误

    yum install libtool

    解决 exec: g++: not found 错误

    yum -y update gcc
    yum -y install gcc+ gcc-c++

    解决 configure: error: tss lib not found: libtspi.so 错误

    yum install trousers-devel

    解决 Can't exec "autopoint": No such file or directory 错误

    yum install gettext gettext-devel gettext-common-devel

    解决 configure: error: libcrypto not found. 错误

    yum remove openssl-devel
    yum -y install openssl-devel

    解决 configure: error: Package requirements (libffi >= 3.0.0) were not met: No package 'libffi' found 错误

    yum install libffi-devel

    解决 fatal error: uuid.h: No such file or directory 错误

    yum install e2fsprogs-devel uuid-devel libuuid-devel

    解决 configure: error: openssl lib not found: libcrypto.so 错误

    yum install openssl-devel

    解决 tar (child): lbzip2: Cannot exec: No such file or directory 错误

    yum -y install bzip2

    解决 configure: error: C++ preprocessor "/lib/cpp" fails sanity check 错误

    yum install gcc-c++

    解决 configure: error: Please reinstall the BZip2 distribution 错误

    yum install bzip2 bzip2-devel

    解决 configure: error: cURL version 7.15.5 or later is required to compile php with cURL support 错误

    yum install curl-devel

    解决 configure: error: not found. Please provide a path to MagickWand-config or Wand-config program 错误

    yum install ImageMagick-devel

    解决 configure: error: no acceptable C compiler found in $PATH 错误

    yum install gcc

    解决 configure: error: Package requirements (icu-uc >= 50.1 icu-io icu-i18n) were not met: 错误

    yum install libicu-devel

    解决 configure: error: Package requirements (sqlite3 > 3.7.4) were not met: No package 'sqlite3' found 错误

    yum install sqlite-devel

    解决 configure: error: Package requirements (oniguruma) were not met: No package 'oniguruma' found 错误

    yum install oniguruma oniguruma-devel
  • 相关阅读:
    Leetcode#104. Maximum Depth of Binary Tree(二叉树的最大深度)
    Leetcode#70. Climbing Stairs(爬楼梯)
    Leetcode#88. Merge Sorted Array(合并两个有序数组)
    美团2019秋招后台开发编程题题解
    Leetcode#191. Number of 1 Bits(位1的个数)
    Leetcode#461. Hamming Distance(汉明距离)
    Leetcode#13. Roman to Integer(罗马数字转整数)
    Leetcode#521. Longest Uncommon Subsequence I(最长特殊序列 Ⅰ)
    Leetcode#557. Reverse Words in a String III(反转字符串中的单词 III)
    带你剖析WebGis的世界奥秘----瓦片式加载地图
  • 原文地址:https://www.cnblogs.com/xiami2046/p/12758416.html
Copyright © 2011-2022 走看看