This error occures becuase the linker (ld) cannot find the jpeg library. You can fix this problem by editing the config.nice file inside the php directory and adding LDFLAGS='-L/path/to/lib' \ (注释:linux64位机器 此处应写为LDFLAGS='-L/usr/lib64' \) above the ./configure \ For example is your libjpeg.so resides inside /usr/local/lib, you'd add -L/usr/local/lib. Once you've edited the file, remove config.cache and run ./config.nice, after that make; make install; should work.
linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
精选 转载原文链接linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
上一篇:Oracle-ASM-PRCR-1079-监听启动报错
下一篇:php5.4.26 安装出现 error: ‘struct gdIOCtx’ has no member named ‘data’
![](https://ucenter.51cto.com/images/noavatar_middle.gif)
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
configure: error: Connot find php-config. Please add --with-php-config=PATH
configure: error: Connot find php-config. Please add --with-php-config=PATH
error configure Connot find php-conf Please add --with-ph