Try --with-mysql=/usr

>>> Stephen <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>:

> Ummm, duh!
> To prevent this error use --disable-cli with ./configure
> 
> 
> Regards,
> Stephen
> 
> 
> Quoting Stephen <[EMAIL PROTECTED]>:
> 
> > 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 



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to