知识屋:更实用的电脑技术知识网站
所在位置:首页 > 操作系统 > linux

linux64位编译php遇到configure:error:GDbuildtestfailed.Pleasechecktheconfig.logfordetails

发布时间:2014-09-05 17:42:50作者:知识屋

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.
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜