首頁 >php教程 >php手册 >undefined reference to libiconv_open',libiconvopen

undefined reference to libiconv_open',libiconvopen

WBOY
WBOY原創
2016-06-13 08:39:131286瀏覽

undefined reference to libiconv_open',libiconvopen

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/

 

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn