Loving Coding & Visual Design
编译php5.2.5遇到Mysql的奇怪错误
Mysql版本是MySQL 4.1.0-alpha-log,出现如下错误:
ext/mysql/php_mysql.o(.text+0x300): 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+0x31f): 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版本的问题?
ext/mysql/php_mysql.o(.text+0x300): 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+0x31f): 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版本的问题?
最 近 文 章
- Windows批处理(BAT)技巧 - Wed, 27 Feb 2008 05:01:28 +0000
- GoogleMap推出静态地图引用服务 - Fri, 22 Feb 2008 05:39:50 +0000
- 二维条形码(2D BarCodes)技术 - Fri, 01 Feb 2008 09:50:35 +0000
- Compare Date with PERL - Mon, 28 Jan 2008 09:19:22 +0000
- Google催生更多千万、亿万富翁 - Fri, 25 Jan 2008 14:50:13 +0000
- SQL Server管理小技巧 - Fri, 18 Jan 2008 07:25:14 +0000
- 用PHP分析GIF动画图片 - Wed, 09 Jan 2008 08:50:54 +0000
- Google开始应用图像辨认文字的专利技术 - Tue, 08 Jan 2008 03:11:10 +0000
- 极度郁闷:携程的酒店预定服务 - Sun, 30 Dec 2007 04:12:48 +0000
- 各类国内长途电话费小记 - Tue, 25 Dec 2007 14:18:28 +0000