Bug #12334 Updated: BZIP2 compiled as loadable extention
| From: | sniper@php.net | Date: | Fri, 27 Jul 2001 23:29:16 +0000 |
| Subject: | Bug #12334 Updated: BZIP2 compiled as loadable extention | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61283@lists.php.net to get a copy of this message | ||
ID: 12334
Updated by: sniper
Reported By: darryl@netbauds.net
Old Status: Open
Status: Closed
Bug Type: Dynamic loading
Operating System: i686-linux 2.4.x
PHP Version: 4.0.6
New Comment:
Fixed in CVS. Thanks.
Previous Comments:
------------------------------------------------------------------------
[2001-07-24 07:38:41] darryl@netbauds.net
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 this bug report at http://bugs.php.net/?id=12334&edit=1