VPS侦探论坛

 找回密码
 注册
查看: 1618|回复: 2

大佬看一下安装失败,PHP编译报错

[复制链接]
发表于 2022-12-13 14:37:29 | 显示全部楼层 |阅读模式


ext/intl/breakiterator/.libs/rulebasedbreakiterator_methods.o: In function `zif_rbbi_get_rule_status_vec':
/root/lnmp1.9-full/src/php-5.5.38/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp:173: undefined reference to `__cxa_throw_bad_array_new_length'
ext/gd/libgd/.libs/gdkanji.o: In function `do_convert':
/root/lnmp1.9-full/src/php-5.5.38/ext/gd/libgd/gdkanji.c:350: undefined reference to `libiconv_open'
/root/lnmp1.9-full/src/php-5.5.38/ext/gd/libgd/gdkanji.c:365: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/gd/libgd/gdkanji.c:381: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:401: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:438: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1440: undefined reference to `libiconv_open'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1936: undefined reference to `libiconv_close'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1939: undefined reference to `libiconv_close'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1551: undefined reference to `libiconv_close'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1554: undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen':
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:690: undefined reference to `libiconv_open'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:713: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:747: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_substr':
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:810: undefined reference to `libiconv_open'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:834: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:889: undefined reference to `libiconv_close'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:893: undefined reference to `libiconv_close'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:842: undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode':
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1130: undefined reference to `libiconv_open'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1144: undefined reference to `libiconv_open'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1263: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1215: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1247: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1405: undefined reference to `libiconv_close'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1315: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1346: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1402: undefined reference to `libiconv_close'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1389: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `php_iconv_string':
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:512: undefined reference to `libiconv_open'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:524: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:542: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:553: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos':
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:938: undefined reference to `libiconv_open'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:966: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:1080: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:2516: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:2667: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:2666: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:2588: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
/root/lnmp1.9-full/src/php-5.5.38/ext/iconv/iconv.c:2542: undefined reference to `libiconv_open'
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert':
/root/lnmp1.9-full/src/php-5.5.38/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/root/lnmp1.9-full/src/php-5.5.38/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv'
/root/lnmp1.9-full/src/php-5.5.38/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] 错误 1
Copy new php configure file...
Modify php.ini...
include/php.sh: line 190: pear: command not found
include/php.sh: line 191: pecl: command not found

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-12-13 20:28:29 | 显示全部楼层


按反馈必读要求上传完整安装日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-12-13 22:32:13 | 显示全部楼层

licess 发表于 2022-12-13 20:28
按反馈必读要求上传完整安装日志

重装了系统直接用在线的可以了。
系统centos6.9
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-23 22:13 , Processed in 0.025341 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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