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