Re: --with-mysql= compile error?

From: Date: Thu, 20 Feb 2003 10:49:01 +0000
Subject: Re: --with-mysql= compile error?
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-10116@lists.php.net to get a copy of this message
webshifter@webshifter.com (Stephen) writes: > Hrmmmm. This lets php compile but apache still breaks with similar errors. > Anyone else having this prob? > > > Stephen > > Quoting Stephen <webshifter@webshifter.com>: > > > Ummm, duh! > > To prevent this error use --disable-cli with ./configure > > > > > > Regards, > > Stephen > > > > > > Quoting Stephen <webshifter@webshifter.com>: > > > > > PHP 4.3.0 > > > Linux 2.2.21 > > > --with-mysql=/usr/local/mysql seems to be generating this compile > > > error: > > > > > > > > > ext/mysql/php_mysql.o: In function `zif_mysql_client_encoding': > > > /usr/src/php-4.3.0/ext/mysql/php_mysql.c:1077: undefined reference to > > > > > `mysql_character_set_name' > > > ext/mysql/php_mysql.o: In function `zif_mysql_real_escape_string': > > > /usr/src/php-4.3.0/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 from http://bugs.php.net/bug.php?id=21327&edit=1 : [2 Jan 2:45am CST] georg@php.net Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the existing bug instead. Thank you for your interest in PHP. Please update your MySQL 3.22 (which isn't supported anymore). If you can't find a good reason for, read MySQL AB Announcement about security and vulnerability in versions < 3.23.54a -- Felix Natter

« previous php.install (#10116) next »