#36504 [Fbk]: mysql as self contained extension compile failed

From: Date: Fri, 24 Feb 2006 12:16:58 +0000
Subject: #36504 [Fbk]: mysql as self contained extension compile failed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-93617@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: Feedback Bug Type: Compile Failure Operating System: fedora core 3 PHP Version: 4.4.2 New Comment: Why do you need to use --with-zlib-dir=/usr/local/zlib? I bet every Linux has zlib in standard path and you don't need to pass it explicitly. Previous Comments: ------------------------------------------------------------------------ [2006-02-24 08:55:31] tony2001@php.net Put your config.log somewhere and provide the link. ------------------------------------------------------------------------ [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

« previous php.bugs (#93617) next »