Hi, all,
I'm having a problem compiling PHP 4.3.8 with MySQL standard 4.0.20.
There errors are:
ext/mysql/php_mysql.o: In function `zif_mysql_crea te_db':
/download/php-4.3.8/ext/mysql/php_mysql.c:116 0: undefined reference to
`mysql_create_d b'
ext/mysql/php_mysql.o: In function `zif_mysql_drop _db':
/download/php-4.3.8/ext/mysql/php_mysql.c:120 2: undefined reference to
`mysql_drop_db'
I've looked through usenet and found some other similar problems, but
none of the solutions (i.e. duplicate mysql.h files) seems to be my problem.
The config paramater is --with-mysql=/usr/local/mysql
which is a symlink to the mysql 4.0.20 build directory.
Does anyone have an idea about this?
Thanks for any help.
Jerry
I'm having a problem compiling PHP 4.3.8 with MySQL standard 4.0.20.
There errors are:
ext/mysql/php_mysql.o: In function `zif_mysql_crea te_db':
/download/php-4.3.8/ext/mysql/php_mysql.c:116 0: undefined reference to
`mysql_create_d b'
ext/mysql/php_mysql.o: In function `zif_mysql_drop _db':
/download/php-4.3.8/ext/mysql/php_mysql.c:120 2: undefined reference to
`mysql_drop_db'
I've looked through usenet and found some other similar problems, but
none of the solutions (i.e. duplicate mysql.h files) seems to be my problem.
The config paramater is --with-mysql=/usr/local/mysql
which is a symlink to the mysql 4.0.20 build directory.
Does anyone have an idea about this?
Thanks for any help.
Jerry