#26655 [Opn->Fbk]: module is not linked against -lbz2

From: Date: Mon, 12 Jan 2004 11:40:21 +0000
Subject: #26655 [Opn->Fbk]: module is not linked against -lbz2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-53166@lists.php.net to get a copy of this message
ID: 26655 Updated by: sniper@php.net Reported By: mmokrejs at natur dot cuni dot cz -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: solaris 2.6 PHP Version: 4CVS-2003-12-17 (stable) New Comment: Now, if you add the --with-apxs2 in it, it won't work? How is apache2 configured? (what MPM is used) Previous Comments: ------------------------------------------------------------------------ [2004-01-11 19:52:26] mmokrejs at natur dot cuni dot cz Yes, that works too, strange. ------------------------------------------------------------------------ [2004-01-11 19:16:15] sniper@php.net Does this work: # rm config.cache ; CC=gcc ./configure --disable-all --disable-cgi --with-bz2 --with-mysql=/usr/local/mysql (sapi/cli/php is compiled only) ------------------------------------------------------------------------ [2004-01-11 14:36:53] mmokrejs at natur dot cuni dot cz Yes, the line in comment 19 Dec 2003 7:47am EST works. # rm config.cache ; CC=gcc ./configure --disable-all --with-bz2 --with-apxs2=/usr/local/apache2/bin/apxs I tested my configure line with special CFLAGS and many configure options removing one after one and came to a point, that removing the mysql option fixes the problem. Using the full configure line as in the original report except the --with-mysql=.... option works too. But I desperately need mysql support. ;) ------------------------------------------------------------------------ [2004-01-11 11:20:00] sniper@php.net So using the configure line I gave above works? ------------------------------------------------------------------------ [2004-01-11 06:52:19] mmokrejs at natur dot cuni dot cz To be clear, the mysql I use is a binary distribution from www.mysql.com for solaris, version 4.0.16. root@pf-i400# ls /usr/local/mysql/lib/mysql/libmysqlclient* libmysqlclient.a libmysqlclient.so.12 libmysqlclient_r.la libmysqlclient_r.so.12.0.0 libmysqlclient.la libmysqlclient.so.12.0.0 libmysqlclient_r.so libmysqlclient.so libmysqlclient_r.a libmysqlclient_r.so.12 root@pf-i400# ldd /usr/local/mysql/lib/mysql/libmysqlclient.so libposix4.so.1 => /usr/lib/libposix4.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libm.so.1 => /usr/lib/libm.so.1 libc.so.1 => /usr/lib/libc.so.1 libaio.so.1 => /usr/lib/libaio.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 /usr/platform/SUNW,Ultra-30/lib/libc_psr.so.1 root@pf-i400# ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/26655 -- Edit this bug report at http://bugs.php.net/?id=26655&edit=1

« previous php.bugs (#53166) next »