By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,882 Members | 2,482 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,882 IT Pros & Developers. It's quick & easy.

Errors building PHP4.3.8 with MySql

P: n/a
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_create_db':
/download/php-4.3.8/ext/mysql/php_mysql.c:1160: undefined reference to
`mysql_create_db'
ext/mysql/php_mysql.o: In function `zif_mysql_drop_db':
/download/php-4.3.8/ext/mysql/php_mysql.c:1202: 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

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.