cooc123 发表于 2012-6-3 20:28:45

0.9 PHP 出错

ubuntu 12
日志传不上来 贴了一部分

i386-linux-gnu -lxml2 -liconv -o sapi/cgi/php-cgi
ext/zip/lib/zip_dirent.o: In function `memset':
/usr/include/i386-linux-gnu/bits/string3.h:82: warning: memset used with constant zero length parameter; this could be due to transposed parameters
ext/openssl/xp_ssl.o: In function `php_openssl_setup_crypto':
/home/zou/下载/lnmp0.9-full/php-5.2.17/ext/openssl/xp_ssl.c:357: undefined reference to `SSLv2_server_method'
/home/zou/下载/lnmp0.9-full/php-5.2.17/ext/openssl/xp_ssl.c:337: undefined reference to `SSLv2_client_method'
collect2: ld returned 1 exit status
make: *** 错误 1

[ 本帖最后由 cooc123 于 2012-6-3 21:16 编辑 ]

licess 发表于 2012-6-3 22:01:06

自己搜索错误信息,需要打一个补丁

不过ubuntu 12貌似现在还不行

cooc123 发表于 2012-6-4 20:42:22

打了补丁又出现

/home/zou/下载/lnmp0.9-full/php-5.2.17/ext/gd/libgd/gdkanji.c:381: undefined reference to `libiconv_close'
ext/xmlrpc/libxmlrpc/encodings.o: In function `convert':
/home/zou/下载/lnmp0.9-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/home/zou/下载/lnmp0.9-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv'
/home/zou/下载/lnmp0.9-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** 错误 1
strip: '/usr/local/php/bin/php-cgi': No such file

licess 发表于 2012-6-5 08:52:40

ubuntu 12现在又问题,还不能安装

cooc123 发表于 2012-6-5 08:59:21

原帖由 licess 于 2012-6-5 08:52 发表 https://bbs.vpser.net/images/common/back.gif
ubuntu 12现在又问题,还不能安装
什么时候 推出ubuntu12的啊

licess 发表于 2012-6-5 09:38:51

暂时没办法,只能等php再更新看看,或用12一下版本

cooc123 发表于 2012-6-5 15:56:00

汗,这系统又不能降级。
是不是ubuntu 都要打 openssl 补丁?

licess 发表于 2012-6-5 17:10:38

大部分都不需要,主要看系统模板了

cooc123 发表于 2012-6-5 23:55:40

原帖由 licess 于 2012-6-5 17:10 发表 https://bbs.vpser.net/images/common/back.gif
大部分都不需要,主要看系统模板了
今天一不小心 upgrade 又升级成12的了

有没有办法 比如去掉一些编译参数 可以正常编译的呢

licess 发表于 2012-6-6 08:40:01

回复 9# 的帖子

没办法
页: [1]
查看完整版本: 0.9 PHP 出错