php編譯錯誤:configure: error: Please reinstall the iconv library.

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 \ 發現這個包沒有安裝造成的 


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章