#36504 [NEW]: mysql as self contained extension compile failed
| From: | boonkit at gmail dot com | Date: | Fri, 24 Feb 2006 02:58:18 +0000 |
| Subject: | #36504 [NEW]: mysql as self contained extension compile failed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-93598@lists.php.net to get a copy of this message | ||
From: boonkit at gmail dot com
Operating system: fedora core 3
PHP version: 4.4.2
PHP Bug Type: Compile Failure
Bug description: mysql as self contained extension compile failed
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 bug report at http://bugs.php.net/?id=36504&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36504&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36504&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36504&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36504&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36504&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36504&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36504&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36504&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36504&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36504&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36504&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36504&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36504&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36504&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36504&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36504&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36504&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36504&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36504&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36504&r=mysqlcfg