当前位置:Gxlcms > PHP教程 > undefinedreferencetolibiconv_openc++undefinedreferenceundefinedreferencetosqrtundefinedreferencetomai

undefinedreferencetolibiconv_openc++undefinedreferenceundefinedreferencetosqrtundefinedreferencetomai

时间:2021-07-01 10:21:17 帮助过:4人阅读

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

解决方法:

make ZEND_EXTRA_LIBS='-liconv'

ln -s /usr/local/lib/libiconv.so.2 /usr/lib64/

以上就介绍了undefined reference to libiconv_open,包括了reference,undefined方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

人气教程排行