Bug #12334: BZIP2 compiled as loadable extention

From: Date: Tue, 24 Jul 2001 11:38:41 +0000
Subject: Bug #12334: BZIP2 compiled as loadable extention
Groups: php.dev 
Request: Send a blank email to php-dev+get-60843@lists.php.net to get a copy of this message
From: darryl@netbauds.net Operating system: i686-linux 2.4.x PHP version: 4.0.6 PHP Bug Type: Dynamic loading Bug description: BZIP2 compiled as loadable extention When building 'bz2' modules as loadable extention libbz2 symbols remain undefined in PHPs 'bz2.so' module. Also libbz2.so.1.0.1 doesn't appear as a dependant libary when 'ldd' is run on the resultant PHP 'bz2.so' module. This patch seems to cause the build process to include a private copy of the system libbz2.a into the PHP 'bz2.so' modules, leaving no undefined symbols. --- ext/bz2/Makefile.in~ Wed Oct 18 19:32:21 2000 +++ ext/bz2/Makefile.in Tue Jul 24 12:09:02 2001 @@ -3,5 +3,6 @@ LTLIBRARY_NAME = libbz2.la LTLIBRARY_SOURCES = bz2.c LTLIBRARY_SHARED_NAME = bz2.la +LTLIBRARY_SHARED_LIBADD = $(BZ2_SHARED_LIBADD) include $(top_srcdir)/build/dynlib.mk -- Edit bug report at: http://bugs.php.net/?id=12334&edit=1

« previous php.dev (#60843) next »