首页 > Web开发 > 详细

linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details

时间:2014-03-30 13:58:38      阅读:1159      评论:0      收藏:0      [点我收藏+]
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,布布扣,bubuko.com

linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details

原文:http://blog.csdn.net/wang_quan_li/article/details/22575405

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!