dear friends,


i used this configuration when i installed php-5.0.5 in redhat 9

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

but when i compiled with make command the result is:

--- some codes here ---

ext/mysql/php_mysql.lo(.text+0x2076): In function `zif_mysql_create_db':
/home/php/php-5.0.5/ext/mysql/php_mysql.c:1169: undefined reference to `mysql_create_db'
ext/mysql/php_mysql.lo(.text+0x2279): In function `zif_mysql_drop_db':
/home/php/php-5.0.5/ext/mysql/php_mysql.c:1211: undefined reference to `mysql_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

i already installed mysql rpm packages using

MySQL-shared-4.1.14-0.i386.rpm
MySQL-devel-4.1.14-0.i386.rpm
MySQL-client-4.1.14-0.i386.rpm
MySQL-server-4.1.14-0.i386.rpm

thanks for any help.

raport