VPS侦探论坛

标题: 多php版本,php7.4.12安装失败 [打印本页]

作者: dvd198    时间: 2021-1-6 16:12
标题: 多php版本,php7.4.12安装失败
本帖最后由 dvd198 于 2021-1-6 16:20 编辑


CentOS Linux release 7.2.1511 (Core)

Linux iZuf60ibk1pvaj50e3zv6hZ 3.10.0-514.6.2.el7.x86_64 #1 SMP Thu Feb 23 03:04:39 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux



麻烦看下是什么问题,lnmp1.7源码包下安装的
[attach]6356[/attach]





作者: licess    时间: 2021-1-6 18:05
checking for libjpeg... no
configure: error: Package requirements (libjpeg) were not met:

No package 'libjpeg' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables JPEG_CFLAGS
and JPEG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

系统上缺少libjpeg-devel依赖包,这个安装lnmp时会自动安装上的,有可能被你误删掉了
可以yum install libjpeg-devel 再手动安装上




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4