Hey everyone,
I'm having a problem when trying to
make PHP 4.3.3 with mySQL support.
With the config string:
Code:
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars --with-pdflib=no --with-zlib
I get this when trying to make it..
Code:
ext/mysql/php_mysql.lo(.text+0x22dc): In function `zif_mysql_create_db':
/usr/src/php/php-4.3.3/ext/mysql/php_mysql.c:1160: undefined reference to `mysql
_create_db'
ext/mysql/php_mysql.lo(.text+0x2513): In function `zif_mysql_drop_db':
/usr/src/php/php-4.3.3/ext/mysql/php_mysql.c:1202: undefined reference to `mysql
_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Does anyone know what's wrong here?
EDIT: I ended up installing MySQL 3.23.58, it solved the problem. But if anyone can find a the cause of this problem, I'd be interested to find out.