php compile error with mysql undefined reference to `mysql_real_escape_string'
| From: | Ivone Uribe | Date: | Sun, 14 Dec 2003 07:56:51 +0000 |
| Subject: | php compile error with mysql undefined reference to `mysql_real_escape_string' | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-172750@lists.php.net to get a copy of this message | ||
Hi all!
I'm installing php4.3.3, apache 1.3.28 with
mysql3.22.32
I'm using this option --with-mysql=/usr/local/mysql
But when I compile the php code, I get this error:
ext/mysql/php_mysql.o: In function
`zif_mysql_client_encoding':
/root/fuente/archivos/php-4.3.3/ext/mysql/php_mysql.c:1118:
undefined reference to `mysql_character_set_name'
ext/mysql/php_mysql.o: In function
`zif_mysql_real_escape_string':
/root/fuente/archivos/php-4.3.3/ext/mysql/php_mysql.c:1705:
undefined reference to `mysql_real_escape_string'
collect2: ld returned 1 exit status
To solve it..I try the option --disable-cli on
./configure, and all ok.
But now I have the same problem
(/php-4.3.3/ext/mysql/php_mysql.c:1118: undefined
reference to `mysql_character_set_name')
when I try to compile the apache...
Please!!! Does anybody know how to solve it?
Thanks in advance!!
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/