From: aditya at sanisoft dot com Operating system: Fedora Core 2 PHP version: 5.0.0 PHP Bug Type: Compile Failure Bug description: MySQLI doesn't support versions < 4.1.3 anymore
Description: ------------ When I tried to compile PHP-5 with MySQL-5.0.0 (alpha) rpm installed from http://dev.mysql.com/downloads/mysql/5.0.html. Have installed Server, Client programs, Libraries and header files and Dynamic client libraries. When I use configure ./configure --with-mysqli=/usr/bin/mysql_config compilation stops with the error: configure: error: MySQLI doesn't support versions < 4.1.3 anymore. Please update your libraries. config.log shows: /home/aditya/downloads/php-5.0.0/configure:55209: undefined reference to `mysql_stmt_field_count' collect2: ld returned 1 exit status configure: failed program was: #line 55202 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_stmt_field_count(); int main() { mysql_stmt_field_count() ; return 0; } I have already seen bug #29089. Is this the same bug or different? Should MySQL devs be bugged about it? Expected result: ---------------- It should compile... Actual result: -------------- It does not compile :( -- Edit bug report at http://bugs.php.net/?id=29298&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29298&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29298&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29298&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29298&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29298&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29298&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29298&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29298&r=support Expected behavior: http://bugs.php.net/fix.php?id=29298&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29298&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29298&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29298&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29298&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29298&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29298&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29298&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29298&r=float