免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2512 | 回复: 5
打印 上一主题 下一主题

php 5.2.6在64位系统,提示不兼容 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-10-10 19:41 |只看该作者 |倒序浏览
我在centos6手动安装的php,报以下错误

。。。。。。。。。。。。。。
/usr/bin/ld: i386 architecture of input file `ext/gd/gdttf.o' is incompatible with i38686-64 output
/usr/bin/ld: i386 architecture of input file `ext/gd/libgd/gd.o' is incompatible with i38686-64 output
/usr/bin/ld: i386 architecture of input file `ext/gd/libgd/gd_gd.o' is incompatible with i38686-64 output
/usr/bin/ld: i386 architecture of input file `ext/gd/libgd/gd_gd2.o' is incompatible with i38686-64 output
/usr/bin/ld: i386 architecture of input file `ext/gd/libgd/gd_io.o' is incompatible with i38686-64 output
/usr/bin/ld: i386 architecture of input file `ext/gd/libgd/gd_io_dp.o' is incompatible with i38686-64 output
/usr/bin/ld: i386 architecture of input file `ext/gd/libgd/gd_io_file.o' is incompatible with i38686-64 output
/usr/bin/ld: i386 architecture of input file `ext/gd/libgd/gd_ss.o' is incompatible with i38686-64 output
/usr/bin/ld: i386 architecture of input file `ext/gd/libgd/gd_io_ss.o' is incompatible with i38686-64 output
/usr/bin/ld: i386 architecture of input file `ext/gd/libgd/gd_png.o' is incompatible with i38686-64 output
/usr/bin/ld: i386 architecture of input file `ext/gd/libgd/gd_jpeg.o' is incompatible with i386:x86-64 output
。。。。。。。。。。。。

这样报错很多,可有人遇到过,我在网上查了一下,也没有找到确实可行的办法。

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2011-10-10 19:55 |只看该作者
为什么不用系统自带的php呢,6里面有5.3的php

论坛徽章:
0
3 [报告]
发表于 2011-10-10 19:56 |只看该作者
回复 2# chenyx


    默认安装的cli的,我装cgi的。

论坛徽章:
0
4 [报告]
发表于 2011-10-10 20:09 |只看该作者
回复 1# yingtank


    是不是 你前提条件就不符合   少了很多64位依赖包

论坛徽章:
0
5 [报告]
发表于 2011-10-10 20:19 |只看该作者
回复 4# taojie2000


    自带的php5.3已经装上了,如果依赖有问题,我想php5.3 cli肯定也装不上。

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
6 [报告]
发表于 2011-10-10 20:26 |只看该作者
编译和rpm安装是两回事.
编译的时候,需要的是支持的库的devel包,但是rpm安装的是不带devel的.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP