图文课程 职群旗下

  1. 首页
  2. 所有分类
  3. PHP
  4. undefined reference to libiconv_open'

undefined reference to libiconv_open'

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 statusmake: *** [sapi/cli/php] Error 1

 解决方法:

make ZEND_EXTRA_LIBS='-liconv'ln -s /usr/local/lib/libiconv.so.2 /usr/lib64/

 

猜你喜欢
114. Flatten Binary Tree to Linked List 理解netty对protocol buffers的编码解码
CentOS 6.5 下的截图方法 [MySQL Reference Manual] 20 分区
隐藏tabbar的属性hidesBottomBarWhenPushed React入门最好的学习实例-TodoList
file_put_contents 错误:failed to open stream: Invalid argument 一种原因 DataTable之Editor个性化设置
Linux配置环境报“/usr/local/develop-tools/apache-maven-3.3.9/bin: 是一个目录“的解决方案 CentOS6.6图文详细安装教程(有些设置大部分教程没出现过,附带网络设置等)