ID:               43537
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nastasache_iulian at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         MySQLi related
 Operating System: Linux
 PHP Version:      5.2.5
 New Comment:

mysql_get_character_set_info() is only used when it's available.
The check looks for MySQL version which has to be > 5.0.9.
The error means you have MySQL headers of version 5.0.10+ installed.


Previous Comments:
------------------------------------------------------------------------

[2007-12-08 14:06:48] nastasache_iulian at yahoo dot com

Description:
------------
Got error when trying to install mysqli extension under PHP 5.2.5 using
MySQL 4.1.22.

Ideas? Looks like mysql_get_character_set_info() unavailable before
MySQL 5.0.10 ? (php docs said mysqli extension it's working with MySQL >
4.1.3)



Reproduce code:
---------------
./configure
--with-mysql
--with-mysqli

and variations (--with-mysqli=/usr/bin/mysql_config,
--enable-embedded-mysqli etc)

Expected result:
----------------
compilation done without the errors

Actual result:
--------------
ext/mysqli/.libs/mysqli_nonapi.o: In function
`zif_mysqli_get_charset':
/usr/src/php-5.2.5/ext/mysqli/mysqli_nonapi.c:372: undefined reference
to `mysql_get_character_set_info'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43537&edit=1

Reply via email to