Blog / 阅读

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

by admin on 2014-03-30 10:56:34 in ,



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; shou


写评论

相关文章

上一篇:wamp 虚拟目录的设置

下一篇:单路CPU性能排名

评论

写评论

* 必填.

分享

栏目

赞助商


热门文章

Tag 云