I've got a Cobalt Raq3i that I'm trying to install PHP and MySQL to and am
having some problems.  I need your help please.

I installed PHP 4.3.2.  It looked it like included MySQL, but I didn't find
'mysqld' anywhere, so I just assumed it didn't install.  Plus, I figured,
that it wasn't the latest version, so I downloaded and installed MySQL
4.0.14.

I got MySQL running just fine and I'm able to connect to it and run all of
the tests successfully.

Now, when I try to recompile PHP and passing the directory of the MySQL that
I downloaded it's erroring out.  Here's what I'm doing...

./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql
then, I do a 'make'

It's erroring out w/:
ext/mysql/php_mysql.lo: In function `zif_mysql_create_db':
/home/php/php-4.3.2/ext/mysql/php_mysql.c:1115: undefined reference to
`mysql_create_db'
ext/mysql/php_mysql.lo: In function `zif_mysql_drop_db':
/home/php/php-4.3.2/ext/mysql/php_mysql.c:1157: undefined reference to
`mysql_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

What do you recommend that I do at this point?

THANKS for the help, folks.

Shawn


Reply via email to