I'm having a problem when trying to make
PHP 4.3.3 with mySQL support.
With the config string:
./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..
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
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
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.