471,075 Members | 1,249 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

Errors building PHP4.3.8 with MySql

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
0 1345

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by PinkBishop | last post: by
4 posts views Thread by Andy Baxter | last post: by
1 post views Thread by Joseph S. | last post: by
15 posts views Thread by Lawrence Krubner | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.