ext/gd/libgd/.libs/gdkanji.o: In function `do_convert’:

/root/php-5.2.12/ext/gd/libgd/gdkanji.c:350: undefined reference to `libiconv_open’

/root/php-5.2.12/ext/gd/libgd/gdkanji.c:365: undefined reference to `libiconv’

/root/php-5.2.12/ext/gd/libgd/gdkanji.c:381: undefined reference to `libiconv_close’

ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen’:

/root/php-5.2.12/ext/iconv/iconv.c:603: undefined reference to `libiconv_open’

/root/php-5.2.12/ext/iconv/iconv.c:626: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:660: undefined reference to `libiconv_close’

ext/iconv/.libs/iconv.o: In function `php_iconv_string’:

/root/php-5.2.12/ext/iconv/iconv.c:441: undefined reference to `libiconv_open’

/root/php-5.2.12/ext/iconv/iconv.c:453: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:467: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:478: undefined reference to `libiconv_close’

ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos’:

/root/php-5.2.12/ext/iconv/iconv.c:851: undefined reference to `libiconv_open’

/root/php-5.2.12/ext/iconv/iconv.c:879: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:993: undefined reference to `libiconv_close’

ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl’:

/root/php-5.2.12/ext/iconv/iconv.c:348: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:385: undefined reference to `libiconv’

ext/iconv/.libs/iconv.o: In function `_php_iconv_substr’:

/root/php-5.2.12/ext/iconv/iconv.c:723: undefined reference to `libiconv_open’

/root/php-5.2.12/ext/iconv/iconv.c:747: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:802: undefined reference to `libiconv_close’

/root/php-5.2.12/ext/iconv/iconv.c:806: undefined reference to `libiconv_close’

/root/php-5.2.12/ext/iconv/iconv.c:755: undefined reference to `libiconv_open’

ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode’:

/root/php-5.2.12/ext/iconv/iconv.c:1354: undefined reference to `libiconv_open’

/root/php-5.2.12/ext/iconv/iconv.c:1465: undefined reference to `libiconv_close’

/root/php-5.2.12/ext/iconv/iconv.c:1468: undefined reference to `libiconv_open’

/root/php-5.2.12/ext/iconv/iconv.c:1823: undefined reference to `libiconv_close’

/root/php-5.2.12/ext/iconv/iconv.c:1826: undefined reference to `libiconv_close’

ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor’:

/root/php-5.2.12/ext/iconv/iconv.c:2465: undefined reference to `libiconv_close’

ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode’:

/root/php-5.2.12/ext/iconv/iconv.c:1043: undefined reference to `libiconv_open’

/root/php-5.2.12/ext/iconv/iconv.c:1057: undefined reference to `libiconv_open’

/root/php-5.2.12/ext/iconv/iconv.c:1316: undefined reference to `libiconv_close’

/root/php-5.2.12/ext/iconv/iconv.c:1319: undefined reference to `libiconv_close’

/root/php-5.2.12/ext/iconv/iconv.c:1176: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:1128: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:1160: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:1319: undefined reference to `libiconv_close’

/root/php-5.2.12/ext/iconv/iconv.c:1228: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:1259: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:1303: undefined reference to `libiconv’

ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket’:

/root/php-5.2.12/ext/iconv/iconv.c:2615: undefined reference to `libiconv’

/root/php-5.2.12/ext/iconv/iconv.c:2615: undefined reference to `libiconv’

ext/iconv/.libs/iconv.o:/root/php-5.2.12/ext/iconv/iconv.c:2537: more undefined references to `libiconv’ follow

ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor’:

/root/php-5.2.12/ext/iconv/iconv.c:2491: undefined reference to `libiconv_open’

ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert’:

/root/php-5.2.12/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open’

/root/php-5.2.12/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv’

/root/php-5.2.12/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close’

collect2: ld returned 1 exit status

make: *** [sapi/cli/php] ?.. 1

处理方法:

./configure …………

vi Makefile

找到下面这行:

EXTRA_LIBS =-lcrypt ...

在最后添加-liconv

原文:http://www.cnblogs.com/yoursoul/p/5070103.html

php7 libiconv,PHP7编译错误:php编译undefined reference to `libiconv 错误相关推荐

  1. php libiconv close_PHP 編譯安裝時出現 undefined reference to `libiconv' 錯誤的解決方法

    原文:http://flyfishes.blog.51cto.com/3527694/819693 手動編譯PHP安裝時遇到如下錯誤 /usr/local/src/php-5.3.10/ext/xml ...

  2. linux中sqlite3编译时出错,Sqlite3 交叉编译 undefined reference to `fdatasync' 错误解决

    交叉编译sqlite到Android平台, Android.mk 文件内容如下: LOCAL_PATH:= $(call my-dir) INCDIR:=/home/android-ndk-r6b/s ...

  3. 编译opencv4.2时出现undefined reference to `jpeg_default_qtables‘错误的解决方案

    操作系统:kylinV10 opencv版本:4.2.0 在编译opencv4.2.0的版本时,出现undefined reference to `jpeg_default_qtables'的错误提示 ...

  4. 编译tslib1.4出现错误undefined reference to rpl_malloc错误

    编译tslib1.4时可能会出现错误undefined reference to rpl_malloc这个错误 解决方法是,在tslib目录下找到config.h.in这个文件,打开,注释掉#unde ...

  5. Linux下载源码编译出错,linux下fortran中编译代码时“undefined reference to `_gfortran_st_”错误...

    在linux系统下fortran与c/c++混合编译的时候出现下列的错误: /mnt/hgfs/subrar/ts/src/extra/../SAVE_DATAQ.f:117: undefined r ...

  6. libnet编译linux,求助,libnet函数库的应用问题?出现 undefined reference to `libnet_init'错误。...

    我在linux下已经安装了libnet函数库,可是在使用libnet_init()等函数的时候,用gcc编译总是显示 Undefined reference to "libnet_init& ...

  7. gcc编译报错:undefined reference to `std::cout‘

    1 问题描述 下面的一段代码(代码来源)在使用gcc编译的时候报错:undefined reference tostd::cout'` 编译文件:test.cpp内容如下: #include < ...

  8. c/c++源文件为何要包含自己的头文件?(编译器检查定义和声明的一致性)(编译报错:undefined reference to...)

    作用: 编译器检查定义和声明的一致性 参考文章并没有解释得很深入,应该从gcc/g++编译器的执行机制一步一步.来解析比较合适 参考文章:c源文件中为什么要包含自己对应的头文件 20211216 今天 ...

  9. 用gcc编译.cpp文件可能出现undefined reference to `__gxx_personality_v0'问题的解决

    用gcc编译.cpp文件时出现错误:undefined reference to `__gxx_personality_v0', 解决的办法就是通过g++来编译,就可以通过了!! 用gcc编译的话需要 ...

  10. gcc7 编译 linux内核提示 undefined reference to `____ilog2_NaN'

    1. 问题 gcc7.3 编译linux内核linux-4.10.4时,出现如下错误: GEN .versionCHK include/generated/compile.hUPD include/g ...

最新文章

  1. SQL Server(第二章) 字符串函数、日期时间函数、转换函数
  2. [Spring5]AOP底层原理
  3. 敏捷结果30天之第十二天:效率角色-你是启动者还是完成者
  4. Beta冲刺! Day2 - 砍柴
  5. 次时代各制作插件使用方案以及技巧 包括UV 烘焙 减面等
  6. 未来计算机论文1500,致未来的自己作文1500字
  7. linux 双显卡 黑屏 amd,ubuntu上AMD显卡驱动黑屏问题的一种解决办法
  8. Harmony OS — PageSlider滑动页面
  9. Via板载声卡底噪严重、播放卡顿及耳机与扬声器音源切换问题【解决方法】
  10. 描述内存分配方式以及它们的区别?
  11. 【懒人必备神器】教你用Python做一个自动抽奖程序啦~
  12. 云服务器安装软件,如何在云服务器中安装软件
  13. 高中数学数列技巧解题秒杀视频:数列小题秒杀技巧
  14. python 画图时各种颜色代码
  15. 使用hifiasm组装hifi基因组的方法介绍
  16. 探索C# : List 元素类型和清除方法
  17. 做程序员需要什么基础?自学编程难度有多大?初级程序员的工资?程序员要学
  18. coreldraw凹槽_印刷必备知识.ppt
  19. 怎样查找Xilinx的资料
  20. 字符串数组和字符串指针的区别

热门文章

  1. WarDrive:使用Backtrack 4中的Kismet进行嗅探并使用GE绘制地图的简明攻略
  2. Centos 部署OpenVP* 证书+密码认证
  3. FFplay命令分析-vf
  4. 红月3.8登入器重新设计并且支持窗口化兼容win10
  5. HTML5生日祝福网页代码【粉色生日快乐模板】HTML+CSS+JavaScript
  6. 基于Jersey框架创建web项目
  7. 用 Python 自动定时发微博
  8. 中科院分词系统大致流程
  9. 花生壳 Linux arm
  10. 超简单友盟分享(微信、QQ)+ 原生微信分享