ID: 26655
Updated by: [EMAIL PROTECTED]
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:
And what might have been the configure line?
And do you have shared or static bz2 lib?
Previous Comments:
------------------------------------------------------------------------
[2003-12-17 14:35:58] mmokrejs at natur dot cuni dot cz
Description:
------------
Hi,
I can compile current snapshot, but the module is not linked
dynamically against libbz2:
ldd /usr/local/apache2/modules/libphp4.so
libhistory.so => /usr/local/lib/libhistory.so
libreadline.so.4 => /usr/local/lib/libreadline.so.4
libmysqlclient.so.12 =>
/usr/local/mysql/lib/mysql/libmysqlclient.so.12
libintl.so.2 => /usr/lib/libintl.so.2
libz.so => /usr/lib/libz.so
libdb-4.1.so => /usr/local/BerkeleyDB-4.1.25/lib/libdb-4.1.so
libresolv.so.2 => /usr/lib/libresolv.so.2
libm.so.1 => /usr/lib/libm.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libxml2.so.2 => /usr/local/lib/libxml2.so.2
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libnsl.so.1 => /usr/lib/libnsl.so.1
libc.so.1 => /usr/lib/libc.so.1
libposix4.so.1 => /usr/lib/libposix4.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libaio.so.1 => /usr/lib/libaio.so.1
/usr/platform/SUNW,Ultra-30/lib/libc_psr.so.1
libthread.so.1 => /usr/lib/libthread.so.1
Reproduce code:
---------------
# /usr/local/apache2/bin/apachectl startssl
Syntax error on line 231 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server: ld.so.1:
/usr/local/apache2/bin/httpd: fatal: relocation error: file
/usr/local/apache2/modules/libphp4.so: symbol BZ2_bzerror: referenced
symbol not found
#
Expected result:
----------------
sapi/cli/php is properly linked against libbz2, so it's not a problem
with configure detection but possibly some macro missing in so of the
Makefile.in files(I guess).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26655&edit=1