php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51957 unable to build filter-extension shared
Submitted: 2010-05-31 15:47 UTC Modified: 2020-06-04 11:44 UTC
From: rs at bytecamp dot net Assigned: cmb (profile)
Status: Closed Package: Filter related
PHP Version: 5.2.13 OS: FreeBSD 7.1-RELEASE-p11
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 - 35 = ?
Subscribe to this entry?

 
 [2010-05-31 15:47 UTC] 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 \



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-31 16:02 UTC] pajoye@php.net
-Status: Open +Status: To be documented
 [2010-05-31 16:02 UTC] pajoye@php.net
It can't and should not be build shared.
 [2010-05-31 16:09 UTC] 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-12-20 15:27 UTC] jani@php.net
-Package: *Compile Issues +Package: Filter related
 [2020-06-04 11:44 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-06-04 11:44 UTC] cmb@php.net
> in PHP >=5.3 it can also be built shared without a problem.

So I think this ticket can be closed. :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 14:01:29 2024 UTC