#22350 [Opn->Bgs]: Compile failure: [sapi/cli/php]`zif_mysql_client_encoding'
| From: | georg@php.net | Date: | Sat, 22 Feb 2003 20:25:30 +0000 |
| Subject: | #22350 [Opn->Bgs]: Compile failure: [sapi/cli/php]`zif_mysql_client_encoding' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33931@lists.php.net to get a copy of this message | ||
ID: 22350
Updated by: georg@php.net
Reported By: stuii at rhydio dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux 2.4.18 i686
PHP Version: 4.3.1
New Comment:
Please update MySQL to a recent version. MySQL 3.22.x isn't supported
anymore by PHP and MySQL AB.
Previous Comments:
------------------------------------------------------------------------
[2003-02-21 06:13:48] stuii at rhydio dot com
I am getting this error when attempting to compile PHP 4.3.1:
ext/mysql/php_mysql.lo: In function `zif_mysql_client_encoding':
/home/stuii/temp/php-4.3.1/ext/mysql/php_mysql.c:1077: undefined
reference to `mysql_character_set_name'
ext/mysql/php_mysql.lo: In function `zif_mysql_real_escape_string':
/home/stuii/temp/php-4.3.1/ext/mysql/php_mysql.c:1671: undefined
reference to `mysql_real_escape_string'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
I have searched the documentation and the bug database but I cannot
find any information on this, nor can I find a report from anyone who's
had the same problem.
My configure command (which worked with no problems)
./configure --with-mysql=/usr/local/my
sql --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars
--with-gd=/usr/l
ocal/ --with-jpeg-dir=/usr/local --with-png-dir=/usr/local
--with-zlib-dir=/usr
/local --with-gif-dir=/usr/local
Any ideas?
Thanks!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22350&edit=1