Home > Backend Development > PHP Tutorial > Linux下安装过程中编译PHP时报错:configure: error: libjpeg.(a|so) not found

Linux下安装过程中编译PHP时报错:configure: error: libjpeg.(a|so) not found

WBOY
Release: 2016-06-23 13:27:59
Original
1055 people have browsed it

在Linux下安装PHP过程中,编译时出现configure: error: libjpeg.(a|so) not found 错误的解决办法:

检查之后发现已经安装libjpeg,但是/usr/lib目录下没有libjpeg.so这个文件,在/usr/lib64下是有的,使用?with-jpeg-dir=/usr/lib64 依然无效,

最后用ln -s /usr/lib64/libjpeg.so /usr/lib/libjpeg.so问题解决

libpng报错解决方法一样

版权声明:本文为博主原创文章,未经博主允许不得转载。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template