[PHP 4.3.6] Compiling agaisnt MySQL 4.0.18 on Redhat 8
| From: | Aaron Axelsen | Date: | Thu, 20 May 2004 23:47:49 +0000 |
| Subject: | [PHP 4.3.6] Compiling agaisnt MySQL 4.0.18 on Redhat 8 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-186639@lists.php.net to get a copy of this message | ||
Greetings,
I compiled and installed mysql from source, and now I am trying to recompile
php agaisnt the new version of MySQL (was previous running 3.23.53). Here
is the configure string I used:
./configure --with-apxs2=/usr/local/apache/bin/apxs --prefix=/usr/local/php
--with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --with-gettext
Note: I have used this exact string compilng against myql 3.23.53 with no
issues.
When I run the make command, I get the following error:
ext/mysql/php_mysql.lo: In function `zif_mysql_create_db':
/home/aaron/php-4.3.6/ext/mysql/php_mysql.c:1158: undefined reference to
`mysql_create_db'
ext/mysql/php_mysql.lo: In function `zif_mysql_drop_db':
/home/aaron/php-4.3.6/ext/mysql/php_mysql.c:1200: undefined reference to
`mysql_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Any suggestions? Thanks.
--
Aaron Axelsen
AIM: aaak2
Email: axelseaa@amadmax.com