undefined reference to `libiconv_open'
来源:互联网 发布:苏州大学网络网上缴费 编辑:程序博客网 时间:2024/06/07 08:28
程序中使用iconv库,编译会报错,如下:
/home/*/include/util.h:68: undefined reference to `libiconv_open'
/home/*/include/util.h:79: undefined reference to `libiconv'
/home/*/include/util.h:84: undefined reference to `libiconv_close'
/home/*/include/util.h:81: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
解决办法:
iconv 方法在glibc和libiconv中都有实现,若安装了libiconv 则需要显示连接,CCFLAGS增加LIBICONV_PLUG试试
0 0
- undefined reference to libiconv_open
- undefined reference to `libiconv_open'
- error fix undefined reference to libiconv_open'
- undefined reference to `libiconv_open 无法编译PHP
- undefined reference to `libiconv_open 无法编译PHP
- undefined reference to `libiconv_open 无法编译PHP libiconv
- undefined reference to `libiconv_open' collect2: ld returned 1 exit status
- php编译时undefined reference to `libiconv_open'解决办法
- 编译php7.0.17报错提示 undefined reference to `libiconv_open'
- undefined reference to libiconv_open ext/iconv/.libs/iconv.o by install phpsource
- linux编译安装php5.4遇到错误:undefined reference to `libiconv_open'
- undefined reference to 'floor'/undefined reference to `&
- undefined reference to 'floor'/undefined reference to
- undefined undefined reference to `nfq_open'
- undefined reference to 'pthread_create'
- undefined reference to `_Unwind_Resume'
- undefined reference to `__ctype_b'
- undefined reference to rpl_malloc
- swift2 析构过程
- Android 绘图 cache setDrawingCacheEnabled(boolean flag)
- ACboy needs your help again!(简单栈)
- 开始刷leetcode day78:Lowest Common Ancestor of a Binary Tree
- 为什么无法定义1px左右高度的容器
- undefined reference to `libiconv_open'
- hdoj-1289-A Bug's Life【种类并查集】
- laravel陌生知识点快速学习(一)
- Java设计模式——六大原则
- 远程连接mysql 授权方法详解
- 归并排序算法笔记
- eclipse快捷键大全
- as插件Parcelable介绍
- 公司提成