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

configure: error: Please reinstall the iconv library.php

今天在編譯安裝php5.6.10的時候出現這個報錯mysql

而後怎麼都解決不了,度娘也沒有找到方法,因而仔細看了下配置sql

  ./configure \apache

--prefix=/usr/local/php5.6.10 \curl

--with-apxs2=/usr/local/apache/bin/apxs \socket

--with-mysql=/usr/local/mysql \ide

--with-xmlrpc \url

--with-openssl \xml

--with-zlib \ssl

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

相關文章
相關標籤/搜索