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

解决方法:

使用:make ZEND_EXTRA_LIBS='-liconv' 

或者: vim Makefile

添加:-lcrypt
php编译安装报错:make: *** [sapi/cli/php] Error 1 解决办法

然后重新编译

上一篇:基于java配置log4j日志详解


下一篇:SSH 连接慢的解决方案详解