undefined reference to libiconv_open',libiconvopen
程序员文章站
2022-06-09 12:57:14
...
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/
上一篇: FLASH绘制可爱的卡通风车
推荐阅读
-
Windows编译OpenCV4Android解决undefined reference to std错误
-
ndk编译error: undefined reference to ‘fegetenv‘
-
SDL2 undefined reference to `SDL_Init' 问题
-
fcgi-2.4.0编译出现echo-cpp.o: undefined reference to symbol ‘FCGX_InitRequest‘
-
Android NDK 报错:undefined reference to ‘main‘(invalid character)解决办法
-
rt thread 使用FAL遇到fal_init() undefined reference
-
error: undefined reference to ***
-
undefined reference to
-
【使用 libssh】编译失败, undefined reference to ‘ssh_new‘, undefined reference to ‘ssh_free‘
-
undefined reference to `dlopen'