php 安装失败,试了很多次还是不行。

问答中心分类: PHPphp 安装失败,试了很多次还是不行。
老郭IT 提问 3周 前

iconv.c.text+0x1b67): undefined reference to `libiconv’
iconv.c.text+0x1bc2): undefined reference to `libiconv_close’
iconv.c.text+0x1bcf): undefined reference to `libiconv_close’
iconv.c.text+0x1c45): undefined reference to `libiconv_open’
ext/iconv/.libs/iconv.o: In function `zif_iconv_mime_encode’:
iconv.c.text+0x1fca): undefined reference to `libiconv_open’
iconv.c.text+0x1fe6): undefined reference to `libiconv_open’
iconv.c.text+0x22e6): undefined reference to `libiconv’
iconv.c.text+0x2316): undefined reference to `libiconv’
iconv.c.text+0x25df): undefined reference to `libiconv_close’
iconv.c.text+0x25e9): undefined reference to `libiconv_close’
iconv.c.text+0x26bc): undefined reference to `libiconv’
iconv.c.text+0x271b): undefined reference to `libiconv’
iconv.c.text+0x2749): undefined reference to `libiconv’
iconv.c.text+0x2907): undefined reference to `libiconv’
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket.isra.9′:
iconv.c.text+0x341e): undefined reference to `libiconv’
ext/iconv/.libs/iconv.o:iconv.c.text+0x34b2): more undefined references to `libiconv’ follow
ext/iconv/.libs/iconv.o: In function `php_iconv_string’:
iconv.c.text+0x3750): undefined reference to `libiconv_open’
iconv.c.text+0x37c0): undefined reference to `libiconv’
iconv.c.text+0x389f): undefined reference to `libiconv’
iconv.c.text+0x38bf): undefined reference to `libiconv_close’
ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos’:
iconv.c.text+0x3bc0): undefined reference to `libiconv_open’
iconv.c.text+0x3c68): undefined reference to `libiconv’
iconv.c.text+0x3d30): undefined reference to `libiconv_close’
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert’:
/root/oneinstack/oneinstack/src/php-7.3.9/ext/xmlrpc/libxmlrpc/encodings.c:65: undefined reference to `libiconv_open’
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert’:
encodings.c.text+0xd8): undefined reference to `libiconv’
encodings.c.text+0xee): undefined reference to `libiconv_close’
encodings.c.text+0x1b9): undefined reference to `libiconv_close’
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
PHP install failed, Please Contact the author!

7 问题
oneinstack 回答 3周 前

操作系统版本具体多少?

老郭IT 回答 3周 前

Centos7.3 64位

老郭IT 回答 3周 前

Linux host-192-168-12-124 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

老郭IT 回答 3周 前

官方能否解决下,或者给个解决方案,我这边急需使用。谢谢

leejon 回答 3周 前

加大 SWAP

老郭IT 回答 3周 前

没有更改swap,昨晚执行自动安装的时候已经可以正常安装了。推测可能是官方已经处理好了。

oneinstack 回答 2周 前

最近没有动编译这些。奇怪了