搜索
查看: 2367|回复: 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.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

 
 
大数据行业交流
大数据行业交流
大数据求职招聘
大数据求职招聘
站长电话:
15010106923
微信联系:
hb-0310
站长邮箱:
ab12-120@163.com
大数据中国微信

QQ   

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

GMT+8, 2024-4-20 23:06 , Processed in 0.118257 second(s), 24 queries .

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