php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34433 not able to build libxml extension as shared
Submitted: 2005-09-08 20:21 UTC Modified: 2005-09-10 23:09 UTC
From: mikehume at aol dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2005-09-08 (snap) OS: Solaris
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mikehume at aol dot com
New email:
PHP Version: OS:

 

 [2005-09-08 20:21 UTC] mikehume at aol dot com
Description:
------------
I'm trying to build today's php5.1 snapshot with dom and xml as shared extensions, but configure isn't respecting my settings.

Reproduce code:
---------------
$ ./configure \
    --disable-all \
    --with-xml=shared \
    --with-dom=shared \
    --with-libxml-dir=/opt/local

Expected result:
----------------
$ egrep 'DL_(DOM|XML)) ' main/php_config.h
#define COMPILE_DL_DOM 1
#define COMPILE_DL_XML 1


Actual result:
--------------
$ egrep 'DL_(DOM|XML)) ' main/php_config.h
/* #undef COMPILE_DL_DOM */
/* #undef COMPILE_DL_XML */


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-08 20:52 UTC] mikehume at aol dot com
$ ./configure \
    --disable-all \
    --enable-libxml=shared \
    --with-libxml-dir=/opt/local

$ egrep '(DL_)?LIBXML ' main/php_config.h  | sort -u
#define HAVE_LIBXML 1
/* #undef COMPILE_DL_LIBXML */

COMPILE_DL_LIBXML should be defined.
 [2005-09-10 23:09 UTC] sniper@php.net
works fine when using the proper configure line.
(hint: ext/libxml CAN NOT be compiled as shared, it has to exist in core PHP)

 [2011-01-23 10:10 UTC] wxianda at gmail dot com
i try to disable the RTLD_DEEPBIND in Zend/zend.h and then make a build, and it 
also works fine.
 [2011-01-23 10:48 UTC] wxianda at gmail dot com
i'm terribly sorry i've just posted in the wrong place, could anyone help me to 
remove these two comments, thanks!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 17:01:33 2025 UTC