php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34486 php 5.0.4 does'nt compile
Submitted: 2005-09-13 03:40 UTC Modified: 2005-09-13 09:38 UTC
From: rporticio at yahoo dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.5 OS: Red hat linux
Private report: No CVE-ID: None
 [2005-09-13 03:40 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-13 09:38 UTC] sniper@php.net
Once is enough.. bug #34487

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Nov 29 10:00:01 2025 UTC