installing 4.3.1
| From: | John Coderj | Date: | Sat, 15 Mar 2003 23:46:25 +0000 |
| Subject: | installing 4.3.1 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10343@lists.php.net to get a copy of this message | ||
Finally ran into problems installing php. I'm installing with mysql support for mysql4.0.11. here is my configure line:
./configure \
--with-gd \
--with -freetype-dir=/usr \
--enable-gd-native-ttf \
--enable-gd-imgstrttf \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql
ext/mysql/php_php_mysql.lo: In function `zif-mysql_create_db':
/usr/local/php-4.3.1/ext/mysql/php_mysql.c:1118: undefined reference to `mysql_create_db'
ext/mysql/php_php_mysql.lo: In function `zif-mysql_drop_db':
/usr/local/php-4.3.1/ext/mysql/php_mysql.c:1118: undefined reference to `mysql_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
one question is why is it looking in /usr/local/php-4.3.1/ext/mysql if I've given it a different location and don't want the bundled mysql ?
after installing psahp/mysql/apache at least 5 times on a linux box and three times on a windows box I'm a little embarassed to be asking fore assistance.
John Coder