--with-mysql= compile error?
| From: | Stephen | Date: | Mon, 30 Dec 2002 04:35:55 +0000 |
| Subject: | --with-mysql= compile error? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9462@lists.php.net to get a copy of this message | ||
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