configure: error: Please reinstall the iconv library.
今天在编译安装php5.6.10的时候出现这个报错
然后怎么都解决不了,度娘也没有找到方法,于是仔细看了下配置
./configure \
--prefix=/usr/local/php5.6.10 \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-xmlrpc \
--with-openssl \
--with-zlib \
--with-freetype-dir \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--with-iconv=/usr/local/libiconv \
--enable-short-tags \
--enable-sockets \
--enable-zend-multibyte \
--enable-soap \
--enable-mbsreing \
--enable-static \
--enable-gd-native-ttf \
--with-curl \
--with-xsl \
--enable-ftp \
--with-libxml-dir
注意--with-iconv=/usr/local/libiconv \ 发现这个包没有安装造成的
本文出自 “每天一个进步,时间长..” 博客,请务必保留此出处http://strong01.blog.51cto.com/1075577/1671559
php编译错误:configure: error: Please reinstall the iconv library.
原文地址:http://strong01.blog.51cto.com/1075577/1671559