From:             stuii at rhydio dot com
Operating system: Linux 2.4.18 i686
PHP version:      4.3.1
PHP Bug Type:     Compile Failure
Bug description:  Compile failure: [sapi/cli/php]`zif_mysql_client_encoding'

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 bug report at http://bugs.php.net/?id=22350&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22350&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22350&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22350&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22350&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22350&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22350&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22350&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22350&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22350&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22350&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22350&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22350&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22350&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22350&r=gnused

Reply via email to