Re: --with-mysql= compile error?

From: Date: Mon, 30 Dec 2002 16:04:36 +0000
Subject: Re: --with-mysql= compile error?
Groups: php.install 
Request: Send a blank email to php-install+get-9466@lists.php.net to get a copy of this message
Try --with-mysql=/usr >>> Stephen <webshifter@webshifter.com> 12/29/02 09:57PM >>> 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 > > > > > > It ./configures fine - but breaks when compiling. > > Ideas? > > Anyone else run into this? > > > > > > Regards, > > Stephen > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#9466) next »