#43537 [NEW]: with-mysqli compile error by mysql_get_character_set_info
| From: | nastasache_iulian at yahoo dot com | Date: | Sat, 08 Dec 2007 14:06:48 +0000 |
| Subject: | #43537 [NEW]: with-mysqli compile error by mysql_get_character_set_info | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-120475@lists.php.net to get a copy of this message | ||
From: nastasache_iulian at yahoo dot com
Operating system: Linux
PHP version: 5.2.5
PHP Bug Type: MySQLi related
Bug description: with-mysqli compile error by mysql_get_character_set_info
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 bug report at http://bugs.php.net/?id=43537&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43537&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43537&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43537&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43537&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43537&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43537&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43537&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43537&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43537&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43537&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43537&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43537&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43537&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43537&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43537&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43537&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43537&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43537&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43537&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43537&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43537&r=mysqlcfg