From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to