Bug #16139 Updated: Compile failure with MySQL 4.0.1
| From: | sniper@php.net | Date: | Mon, 18 Mar 2002 14:10:02 +0000 |
| Subject: | Bug #16139 Updated: Compile failure with MySQL 4.0.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2757@lists.php.net to get a copy of this message | ||
ID: 16139
Updated by: sniper@php.net
Reported By: mk@ambora.de
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: linux 2.4.17
PHP Version: 4.0CVS-2002-03-18
New Comment:
How did you install Mysql? Do you happen to have two
versions of it installed in your system?
Previous Comments:
------------------------------------------------------------------------
[2002-03-18 06:03:42] mk@ambora.de
I tried to compile latest CVS with MySQL 4.0.1, but I'm getting the
error below when linking:
ext/mysql/php_mysql.lo: In function `zif_mysql_create_db':
ext/mysql/php_mysql.lo(.text+0x16ac): undefined reference to
`mysql_create_db'
ext/mysql/php_mysql.lo: In function `zif_mysql_drop_db':
ext/mysql/php_mysql.lo(.text+0x185c): undefined reference to
`mysql_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
This is quite understandable: the above functions are from the 3.23.x
branch and are deprecated in 4.0.1. Compiling with MySQL 4.0.1 DID work
with CVS two weeks ago...someone must have 'improved' the build
process.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16139&edit=1