LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 690|回复: 1

REDHAT9上安装HTTPD2.2.2+MYSQL5.1.11+PHP5.14的问题

[复制链接]
发表于 2006-7-25 12:23:16 | 显示全部楼层 |阅读模式
请问各位高手:我在安REDHAT9上安装HTTPD2.2.2+MYSQL5.1.11+PHP5.14时出了问题,前面的安装一切正常,在安装PHP5.14时出现如下错误提示: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 info.
在config.log的错误提示是:/home/mysqldev/rpm/BUILD/mysql-5.1.11-beta/mysql-release-5.1.11-beta/extra/yassl
/taocrypt/src/algebra.cpp:40: undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q
28TaoCrypt23AbstractEuclideanDomain+0x40):/home/mysqldev/rpm/BUILD/mysql-5.1.11-
beta/mysql-release-5.1.11-beta/extra/yassl/taocrypt/src/algebra.cpp:40: more und
efined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x85): In function
`TaoCrypt::FileSource::~FileSource(void)':
/home/mysqldev/rpm/BUILD/mysql-5.1.11-beta/mysql-release-5.1.11-beta/extra/yassl
/taocrypt/src/file.cpp:42: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x295): In function
`TaoCrypt::FileSink::~FileSink(void)':
/home/mysqldev/rpm/BUILD/mysql-5.1.11-beta/mysql-release-5.1.11-beta/extra/yassl
/taocrypt/src/file.cpp:99: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
configure: failed program was:
#line 58781 "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();
我编译PHP时的配置文件为:configure --prefix=/usr/local/php --with-apxs2=/usr/local/
httpd/bin/apxs --with-gd --with-jpeg-dir --with-ttf --with-zlib-dir --with-png-d
r --with-mysql --enable-track-vars
不要--with-mysql 这一句时能正常通过编译,机器中安装了MySQL-devel-5.1.11-0、MySQL-server-5.1.11-0、MySQL-client-5.1.11-0。请问高手该如何解决?谢谢!
发表于 2006-7-26 09:30:19 | 显示全部楼层
你安装libmysqlclien-dev试试。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表