搜索
查看: 2480|: 0

linux64位编译php遇到错误

[复制链接]

142

主题

3

回帖

492

积分

版主

积分
492
发表于 2014-9-27 10:10:05 | 显示全部楼层 |阅读模式
configure:error:GDbuildtestfailed.Pleasechecktheconfig.logfordetailsThis 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.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

大数据中国微信

QQ   

版权所有: Discuz! © 2001-2013 大数据.

GMT+8, 2024-12-23 18:41 , Processed in 0.063639 second(s), 24 queries .

快速回复 返回顶部 返回列表