Press "Enter" to skip to content

宝塔面板安装php失败:提示No package ‘libjpeg’ found的解决办法

现象:

升级php7.4的时候,报错如下:
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.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.

解决办法:

yum install -y libjpeg libjpeg-devel

Be First to Comment

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注