ext/iconv/.libs/iconv.o:in function ' Php_iconv_stream_filter_ctor ':
/home/king/php-5.2.13/ext/iconv/iconv.c:2491:undefined reference to ' Libiconv_open '
Collect2:ld returned 1 exit status
Make: * * * [sapi/cli/php] Error 1
[Root@test php-5.2.13]# VI Makefile
In the installation of PHP to the system when the "undefined reference to Libiconv_open '" error message, which means that in "./configure" did not do a good job of some environmental values. The point at which the error occurred was an error in establishing the "-o sapi/cli/php", and did not give the ICONV function library parameter to link. Workaround: Edit makefile about 77 lines: Extra_libs = ...-lcrypt at the end add-liconv, for example: Extra_libs = ...-lcrypt-liconv and then again make that Can
or in another way.
Make zend_extra_libs= '-liconv '
Ln-s/usr/local/lib/libiconv.so.2/usr/lib64/