Workaround:
#wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz
#tar-ZXVF libiconv-1.13.1.tar.gz
#cd libiconv-1.13.1
#./configure--prefix=/usr/local/libiconv
# make
# make Install
Check PHP again to specify the location of the Iconv--with-iconv=/usr/local/libiconv
#./configure--with-mysql=/backup/mysql--with-freetype-dir--with-jpeg-dir--with-png-dir--with-zlib--with-curl-- WITH-GD--enable-gd-native-ttf--with-apxs2=/usr/local/apache/bin/apxs--enable-sockets--with-iconv=/usr/local/ Libiconv
#make
#make Install
Another solution for removing the Iconv module is to compile PHP normally, as follows:
Edit Makefile about 77 rows of places:
Extra_libs = ...-lcrypt
In the end, add-liconv, for example:
Extra_libs = ...-lcrypt-liconv
Run make again.
The last method: provided by tonyty163:
#make zend_extra_libs= '-liconv '
#make Install
Http://blog.chinaunix.net/uid-25266990-id-2915395.html
Undefined reference to ' libiconv_open cannot compile PHP