免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1679 | 回复: 0
打印 上一主题 下一主题

PHP5在redhat9编译求救 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-27 15:26 |只看该作者 |倒序浏览
php5源文件,执行./configure --prefix=/opt/php5 --with-apxs2=/opt/apache2/bin/apxs --with-pic  --with-pear=/usr/share/pear  --with-bz2   --enable-mbstring --with-pcre-regex  --enable-sockets   --with-zlib   --with-ncurses  --with-mime-magic=/usr/share/magic.mime       --with-freetype-dir  --with-png-dir=/usr --with-gd=shared --enable-gd-native-ttf --with-libexpat-dir=/usr     --with-jpeg-dir=/usr --with-png-dir=/usr     --enable-magic-quotes --enable-xml  --with-mysql时出错退出:
。。。。。。
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.

config.log出错部分内容:
configure:59418: checking for MySQL UNIX socket location
configure:59609: checking for mysql_close in -lmysqlclient
configure:59628: gcc -o conftest -I/usr/include -g -O2  -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql -L/usr/lib  conftest.c -lmysqlclient  -lbz2 -lz -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
/lib/libssl.so.4: undefined reference to `krb5_cc_get_principal'
/lib/libssl.so.4: undefined reference to `krb5_kt_close'
/lib/libssl.so.4: undefined reference to `krb5_rc_get_lifespan'
/lib/libssl.so.4: undefined reference to `krb5_rc_destroy'
/lib/libssl.so.4: undefined reference to `krb5_kt_get_entry'
/lib/libssl.so.4: undefined reference to `krb5_rc_initialize'
collect2: ld returned 1 exit status
configure: failed program was:
#line 59617 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_close();

int main() {
mysql_close()
; return 0; }
configure:59851: checking for mysql_error in -lmysqlclient
configure:59870: gcc -o conftest -I/usr/include -g -O2  -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql -L/usr/lib  -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient  -lz -lbz2 -lz -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
/lib/libssl.so.4: undefined reference to `krb5_cc_get_principal'
/lib/libssl.so.4: undefined reference to `krb5_kt_close'
/lib/libssl.so.4: undefined reference to `krb5_rc_get_lifespan'
/lib/libssl.so.4: undefined reference to `krb5_rc_destroy'
/lib/libssl.so.4: undefined reference to `krb5_kt_get_entry'
/lib/libssl.so.4: undefined reference to `krb5_rc_initialize'
collect2: ld returned 1 exit status
configure: failed program was:
#line 59859 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_error();

int main() {
mysql_error()
; return 0; }
                                                                                                                                            1253,1        Bot
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP