#34487 [Opn->Bgs]: php 5.0.4 does'nt compile
| From: | sniper@php.net | Date: | Tue, 13 Sep 2005 07:39:25 +0000 |
| Subject: | #34487 [Opn->Bgs]: php 5.0.4 does'nt compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84972@lists.php.net to get a copy of this message | ||
ID: 34487
Updated by: sniper@php.net
Reported By: rporticio at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Red hat 9 linux
PHP Version: 5.0.5
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
And make sure your installed mysql headers match the installed
libraries. Which seems to be reason for this compile failure anyway.
Previous Comments:
------------------------------------------------------------------------
[2005-09-13 03:43:19] rporticio at yahoo dot com
Description:
------------
php 5.0.4 doesn't compile after configuring
please note that there is no 5.0.4 in your PHP version above.
Reproduce code:
---------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr
make
(some codes here...)
ext/mysql/php_mysql.lo(.text+0x2076): In function
`zif_mysql_create_db':
/home/php/php-5.0.4/ext/mysql/php_mysql.c:1166: undefined reference to
`mysql_create_db'
ext/mysql/php_mysql.lo(.text+0x2279): In function `zif_mysql_drop_db':
/home/php/php-5.0.4/ext/mysql/php_mysql.c:1208: undefined reference to
`mysql_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Expected result:
----------------
there is no error and it is ready for the next command make install.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34487&edit=1