Re: PHP configure error
| From: | Marek Kilimajer | Date: | Wed, 10 Sep 2003 12:56:49 +0000 |
| Subject: | Re: PHP configure error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162161@lists.php.net to get a copy of this message | ||
Are mysql libraries installed in /usr/local/mysql/lib?
Can you paste here the full command that caused the error?
Mark McCulligh wrote:
Hi again, I once had MySQL 4.0.14 installed using rpm version, but now have removed it and installed MySQL 4.0.14 from the source file. When I run the make command the link --with-mysql=/usr/local/mysql/ I get this errors: ext/mysql/php_mysql.lo: In function `zif_mysql_create_db': /usr/local/src/lamp/php-4.3.3/ext/mysql/php_mysql.c:1160: undefined reference to `mysql_create_db' ext/mysql/php_mysql.lo: In function `zif_mysql_drop_db': /usr/local/src/lamp/php-4.3.3/ext/mysql/php_mysql.c:1202: undefined reference to `mysql_drop_db' ext/standard/image.lo: In function `php_handle_swc': /usr/local/src/lamp/php-4.3.3/ext/standard/image.c:201: undefined reference to `uncompress' /usr/local/src/lamp/php-4.3.3/ext/standard/image.c:219: undefined reference to `uncompress' main/output.lo: In function `php_ob_init_named': /usr/local/src/lamp/php-4.3.3/main/output.c:428: undefined reference to `php_ob_gzhandler_check' /usr/local/mysql/current/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0xb4): undefined reference to `compress' /usr/local/mysql/current/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0x12a): undefined reference to `uncompress' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Does anyone know what I am doing wrong? Thanks, Mark.