编译php5.2.5遇到Mysql的奇怪错误

Mysql版本是MySQL 4.1.0-alpha-log,出现如下错误:

ext/mysql/php_mysql.o(.text+0×300): In function `zm_startup_mysql’:
/root/new_soft/php-5.2.5/ext/mysql/php_mysql.c:405: undefined reference to `mysql_server_init’
ext/mysql/php_mysql.o(.text+0×31f): In function `zm_shutdown_mysql’:
/root/new_soft/php-5.2.5/ext/mysql/php_mysql.c:426: undefined reference to `mysql_server_end’
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

在网上搜索了一下,没有找到合理的解释,5.2.4中有这样一个BUG,不过应该已经修补好了吧。难道是mysql版本的问题?

Tags: ,

Social Bookmark: Delicious   Digg   Facebook   Stumblue   Technorati  

2 Comments

  1. Comment by adam on December 23, 2007 9:02 pm

    SpamBam插件测试,深受垃圾评论毒害,装了SpamBam,效果好像好不错!赞一个!

  2. Comment by 访客 on December 23, 2007 9:04 pm

    访客测试!

Comments RSS

Leave a comment

Comment spam protected by SpamBam