#21151 [Opn->Csd]: zlib and pcre as external modules don't work
| From: | sniper@php.net | Date: | Sun, 09 Feb 2003 19:14:35 +0000 |
| Subject: | #21151 [Opn->Csd]: zlib and pcre as external modules don't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32584@lists.php.net to get a copy of this message | ||
ID: 21151
Updated by: sniper@php.net
Reported By: oden.eriksson@linux-mandrake.com
-Status: Open
+Status: Closed
Bug Type: Dynamic loading
Operating System: Mandrake 9.0
PHP Version: 4.3.0RC4
New Comment:
These compile failures are now fixed in CVS.
But compiling zlib/pcre as shared is not really
useful..you lose some functionality they provide.
Previous Comments:
------------------------------------------------------------------------
[2003-02-09 12:22:40] sniper@php.net
#22131 has nothing to do with this issue..
------------------------------------------------------------------------
[2003-02-09 10:32:09] moriyoshi@php.net
Just FYI: See bug #22131
------------------------------------------------------------------------
[2003-01-29 06:07:59] achowe@snert.com
Between 4.2.3 and 4.3.0 (Mandrake 9.0) the ability to make zlib a
shared module BROKE.
Regardless if this module is small or not, the option exists to make it
a shared module for PHP.
It compiles fine, but it won't run:
[root@x1 apache]# apachectl start
Syntax error on line 62 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/lib/apache/libphp4.so into server:
/etc/httpd/lib/apache/libphp4.so: undefined symbol: zlib_globals
/usr/sbin/apachectl start: httpd could not be started
[root@x1 apache]#
Our configure script:
./configure \
--prefix=/usr/local \
--libexecdir=/usr/lib/apache \
--with-config-file-path=/usr/local/lib/php:/usr/local/lib:/etc \
--enable-discard-path \
--enable-bcmath=shared \
--enable-exif=shared \
--enable-ftp=shared \
--enable-sockets=shared \
--enable-track-vars \
--with-apxs \
--with-bz2=shared \
--with-gettext \
--with-xml=shared \
--with-gd=shared,/usr/local \
--with-freetype-dir=shared,/usr/local \
--with-jpeg-dir=shared \
--with-png-dir=shared \
--with-ldap=shared \
--with-pcre-regex=shared \
--with-zlib=shared,/usr \
--with-openssl=shared \
--with-pgsql=shared \
--with-mysql=shared,/usr \
--with-mnogosearch=shared,/usr/local/mnogosearch \
--with-snmp=shared \
--disable-ctype \
--without-aspell \
--without-db2 \
--without-db3 \
--without-pear
------------------------------------------------------------------------
[2003-01-13 12:16:22] oden.eriksson@linux-mandrake.com
Jean-Michel
Yes I am ;)
But if these extensions can't be built as a loadable dso, you shouldn't
be able to use "=shared". This is really extreme stuff and I doubt
people would use this configure line.
------------------------------------------------------------------------
[2003-01-07 10:27:49] helmut@phpwebservices.com
Confirmed same issue on Solaris 8 for version 4.3.0. I do agree that
zlib is not that large and can be compiled into php (hit after reading
that suggestion!) but still the option is there and does not work...
------------------------------------------------------------------------
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/21151
--
Edit this bug report at http://bugs.php.net/?id=21151&edit=1