php编译时undefined reference to `libiconv_open'解决办法
来源:互联网 发布:网络棋牌赌博如何举报 编辑:程序博客网 时间:2024/05/13 15:55
在make命令时提示一堆undefined reference to `libiconv_open'的错误,搜了下网上找到解决办法,安装libiconv就好了。记录一下。
解决方法:
#wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz
#tar -zxvf libiconv-1.13.1.tar.gz
#cd libiconv-1.13.1
# ./configure --prefix=/usr/local/libiconv
# make
# make install
再检查php,指定 iconv的位置 --with-iconv=/usr/local/libiconv
#./configure --with-mysql=/backup/mysql --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-curl --with-gd --enable-gd-native-ttf --with-apxs2=/usr/local/apache/bin/apxs --enable-sockets --with-iconv=/usr/local/libiconv
以后往下make&make install,搞定。
转自http://blog.chinaunix.net/uid-25266990-id-2915395.html
0 0
- php编译时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
- undefined reference to `libiconv_open'
- 编译php7.0.17报错提示 undefined reference to `libiconv_open'
- error fix undefined reference to libiconv_open'
- linux编译安装php5.4遇到错误:undefined reference to `libiconv_open'
- undefined reference to `libiconv_open' collect2: ld returned 1 exit status
- 编译PHP错误:undefined reference to `ts_resource_ex'
- undefined reference to `***@***'解决办法
- undefined reference to 解决办法
- 交叉编译tslib,遇到undefined reference to rpl_malloc错误解决办法
- Android之ndk编译出现"undefined reference to method"解决办法
- undefined reference to `__umoddi3'解决办法
- undefined reference to `pthread_join'解决办法
- 编译linux 内核时:decompress.c:(.text+0x25c4): undefined reference to `error'的解决办法
- 总线设备驱动模型:bus->match,driver->probe
- c/c++面试题汇总(4)
- 算法学习---对象类型的数组二分查找实现
- 懒加载未用就关闭sessio--n的异常---面试问的-org.hibernate.LazyInitializationException: could not initialize proxy -
- little endian 和big endian问题全面解读
- php编译时undefined reference to `libiconv_open'解决办法
- linux 基本命令
- string 对象与 C 风格字符串的混用
- Unity3D:实现人物转向与移动
- hadoop 伪分布安装
- 并查集 LA 3644
- MVC#概述
- shell脚本中如何获取命令的参数(2) ----处理命令参数
- 朴素贝叶斯分类器