共计 309 个字符,预计需要花费 1 分钟才能阅读完成。
php 编译安装报错:make: *** [sapi/cli/php] Error 1 时怎么办?
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor’:
/ext/iconv/iconv.c:2491: undefined reference to `libiconv_open’
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
解决方法:
[17:51:36 root@a7 ~]#vim Makefile
添加:-liconv
更多文章详见:http://www.magedu.com/xwzx/li…
正文完