#36504 [Opn->Fbk]: mysql as self contained extension compile failed
| From: | tony2001@php.net | Date: | Fri, 24 Feb 2006 07:55:32 +0000 |
| Subject: | #36504 [Opn->Fbk]: mysql as self contained extension compile failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93605@lists.php.net to get a copy of this message | ||
ID: 36504
Updated by: tony2001@php.net
Reported By: boonkit at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: fedora core 3
PHP Version: 4.4.2
New Comment:
Put your config.log somewhere and provide the link.
Previous Comments:
------------------------------------------------------------------------
[2006-02-24 03:58:17] boonkit at gmail dot com
Description:
------------
try compile mysql self contained extension with ./configure
--with-php-config=/usr/local/php4.4.2/bin/php-config
--with-mysql=/usr/local/mysql-4.0 --with-zlib-dir=/usr/local/zlib
Failed with the messsage in config.log
/usr/local/mysql-4.0/lib/libmysqlclient.a(my_compress.o)(.text+0xb4):
In function `my_compress_alloc':
: undefined reference to `compress'
/usr/local/mysql-4.0/lib/libmysqlclient.a(my_compress.o)(.text+0x12a):
In function `my_uncompress':
: undefined reference to `uncompress'
Reproduce code:
---------------
./configure --with-php-config=/usr/local/php4.4.2/bin/php-config
--with-mysql=/usr/local/mysql-4.0 --with-zlib-dir=/usr/local/zlib
Expected result:
----------------
configure done, then can make
Actual result:
--------------
configure: error: mysql configure failed. Please check config.log for
more information.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36504&edit=1