Logo

CentOS 编译错误+配置错误解决方法集合

photo

2021年12月11日

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

执行命令

php-fpm

出现错误
ERROR: failed to open configuration file '/usr/local/soft/php7/etc/php-fpm.conf': No such file or directory (2)
ERROR: failed to load configuration file '/usr/local/soft/php7/etc/php-fpm.conf'
ERROR: FPM initialization failed

cd /usr/local/soft/php7/etc/
cp php-fpm.conf.default php-fpm.conf

执行命令

php-fpm

出现错误
WARNING: Nothing matches the include pattern '/usr/local/soft/php7/etc/php-fpm.d/*.conf' from /usr/local/soft/php7/etc/php-fpm.conf at line 143.
ERROR: No pool defined. at least one pool section must be specified in config file
ERROR: failed to post process the configuration
ERROR: FPM initialization failed

cd /usr/local/soft/php7/etc/php-fpm.d/
cp /www.conf.default www.conf

执行命令

php-fpm

出现错误
ERROR: [pool www] cannot get uid for user 'www'
ERROR: FPM initialization failed

groupadd www
useradd -g www www

sh: pod2html: command not found

yum -y install perl

参考文章:CentOS 7 编译错误解决方法集合

橙子主题打折出售

其实我不卖,主要是这里是放广告的,所以就放了一个
毕竟主题都没做完,卖了也是坑.

购买它
所有附件
该文章没有附件.
本文为原创文章,请注意保留出处!

热门文章

Windows Server IIS+ARR反向代理(配置反向代理服务器) 1.概念说明:反向代理反向代理服务器位于用户与目标服务器之间,但是对于用户而言,反向代理服务器就相...WindowsServerIIS+ARR反向代理(配置反向代理服务器) 作者:Pastore Antonio
1581 浏览量
ffmpeg 生成水印 1:先要配置ffmpeg的滤镜:参考:https://www.jianshu.com/p/9d24...ffmpeg生成水印 作者:Pastore Antonio
1508 浏览量
C#中List的FindAll方法的正确打开方式 初略的介绍一种常见的List写法,这种写法在3.0以后其实是很简单的,但是在2.0左右的系统运用中还...C#中List的FindAll方法的正确打开方式 作者:Pastore Antonio
1467 浏览量
IntelliJ IDEA 代码字体大小的快捷键设置放大缩小(很实用)(图文详解) 这是在设置IntelliJIDEA...IntelliJIDEA代码字体大小的快捷键设置放大缩小(很实用)(图文详解) 作者:Pastore Antonio
1461 浏览量
Navicat Premium 12.0.22 安装与破解 一、安装  NavicatPremium12.0.22的下载链接:https://pan.ba...NavicatPremium12.0.22安装与破解 作者:Pastore Antonio
1447 浏览量