无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
AI导航网AI应用网站大全 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
make出错:

ext/iconv/iconv.o: In function `_php_iconv_strlen':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:603: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:626: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:660: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `php_iconv_string':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:441: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:453: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:467: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:478: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_strpos':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:851: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:879: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:993: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_appendl':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:348: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:385: undefined reference to `libiconv'
ext/iconv/iconv.o: In function `_php_iconv_substr':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:723: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:747: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:802: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:806: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:755: undefined reference to `libiconv_open'
ext/iconv/iconv.o: In function `_php_iconv_mime_decode':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1354: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1465: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1468: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1823: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1826: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_dtor':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:2465: undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_mime_encode':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1043: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1057: undefined reference to `libiconv_open'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1316: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1319: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1176: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1128: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1160: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1319: undefined reference to `libiconv_close'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1228: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1259: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:1303: undefined reference to `libiconv'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_append_bucket':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:2615: undefined reference to `libiconv'
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:2537: undefined reference to `libiconv'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_ctor':
/tmp/lanmp/php-5.2.17/ext/iconv/iconv.c:2491: undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1

TOP

回复 11# admin
重启过apache,机器也重启过。pdo-mysql还是没安装成功。

TOP

回复 11# admin
经自己编译的lamp(centos5.7+最新amp版本)测试可以加入pdo-mysql,并安装drupal成功。
但是cent5.6Base+lamnp的。死活不能加入pdo-mysql。请检查下。谢谢。

TOP

都一样的,lanmp也是编译
留意下错误提示或检查下参数
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

本帖最后由 hyxuzhimin 于 2012-1-28 21:39 编辑

回复 19# admin
./configure --prefix=/www/wdlinux/php-5.2.17 --with-config-file-path=/www/wdlinux/etc  --with-mysql=/www/wdlinux/mysql  --enable-pdo  --with-pdo-mysql=/www/wdlinux/mysql  --with-iconv=/usr --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --with-mcrypt=/usr --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-ftp
你好。我试过好多遍了,参数是上面的,编译过程中没提示错误,我在非wdlinux版的centos5.7下编译安装可以成。不知道是不是系统的原因。还是apahce和nginx一起的原因。搞不清啊。

TOP

回复 20# hyxuzhimin


    要怎么编译啊   我是CentOS 6.0   
跪求解释啊

TOP

返回列表