Bug #51957 [Opn->Csd]: unable to build filter-extension shared

From: Date: Thu, 04 Jun 2020 11:44:09 +0000
Subject: Bug #51957 [Opn->Csd]: unable to build filter-extension shared
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227316@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=51957&edit=1 ID: 51957 Updated by: cmb@php.net Reported by: rs at bytecamp dot net Summary: unable to build filter-extension shared -Status: Open +Status: Closed Type: Bug Package: Filter related Operating System: FreeBSD 7.1-RELEASE-p11 PHP Version: 5.2.13 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: > in PHP >=5.3 it can also be built shared without a problem. So I think this ticket can be closed. :) Previous Comments: ------------------------------------------------------------------------ [2010-05-31 16:09:46] rs at bytecamp dot net If it shouldn't/can't be built shared, then does it mean, that I have to build pcre static too? Btw. in FreeBSD's ports collection, filter has always been a shared object and in PHP >=5.3 it can also be built shared without a problem. ------------------------------------------------------------------------ [2010-05-31 16:02:05] pajoye@php.net It can't and should not be build shared. ------------------------------------------------------------------------ [2010-05-31 15:47:58] rs at bytecamp dot net Description: ------------ When compiling PHP from source, it is not possible to build the "filter" extension as a shared object: ./configure [...] [...] checking whether to enable input filter support... yes, shared configure: error: You've configured extension filter to build statically, but it depends on extension pcre, which you've configured to build shared. You either need to build filter shared or build pcre statically for the build to be successful. Test script: --------------- ./configure \ --prefix=/some/where --with-config-file-path=/some/where/etc \ --disable-ipv6 \ --enable-hash \ --enable-bcmath=shared \ --enable-libxml=shared --enable-xml=shared \ --with-xmlrpc=shared \ --enable-xmlreader=shared --enable-xmlwriter=shared \ --enable-wddx=shared --with-xsl=shared \ --with-openssl=shared \ --with-imap=shared \ --with-imap-ssl \ --enable-ftp=shared \ --with-zlib=shared --with-bz2=shared \ --enable-calendar=shared \ --enable-ctype=shared \ --with-curl=shared \ --enable-dba=shared \ --enable-exif=shared \ --with-pcre-regex=shared \ --with-gd=shared \ --enable-filter=shared \ --with-png-dir \ --with-jpeg-dir \ --with-freetype-dir \ --enable-gd-native-ttf \ --with-gettext=shared \ --with-mhash=shared \ --with-iconv=shred \ --enable-dom=shared \ --enable-mbstring=shared \ --with-mcrypt=shared \ --enable-json=shared \ --disable-mbregex \ --with-mysql=shared \ --with-mysqli=shared \ --enable-pdo=shared --with-pdo-pgsql=shared --with-pdo-mysql=shared --with-pdo-sqlite=shared \ --with-pgsql=shared \ --enable-posix=shared \ --with-pspell=shared \ --enable-session \ --enable-simplexml=shared \ --enable-soap=shared \ --enable-sockets=shared \ --with-sqlite=shared \ --enable-sqlite-utf8 \ --enable-tokenizer=shared \ ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=51957&edit=1

« previous php.bugs (#227316) next »