When I try to compile PHP4.3.0 I get this error:
prompt: ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-versioning --with-mysql=/usr/local --enable-track-vars --enable-gd
....
prompt: make
ext/mysql/php_mysql.lo: 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.lo: 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
Why???? 😕
System is:
RedHat 6.2
Apache 1.3.27
mySQL 3.23.51
What I do wrong!
PHP3 compiles ok, but PHP4 not????