Bug #34433 [Com]: not able to build libxml extension as shared
| From: | wxianda at gmail dot com | Date: | Sun, 23 Jan 2011 09:48:46 +0000 |
| Subject: | Bug #34433 [Com]: not able to build libxml extension as shared | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158100@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=34433&edit=1
ID: 34433
Comment by: wxianda at gmail dot com
Reported by: mikehume at aol dot com
Summary: not able to build libxml extension as shared
Status: Bogus
Type: Bug
Package: Compile Failure
Operating System: Solaris
PHP Version: 5CVS-2005-09-08 (snap)
Block user comment: N
Private report: N
New Comment:
i'm terribly sorry i've just posted in the wrong place, could anyone
help me to
remove these two comments, thanks!
Previous Comments:
------------------------------------------------------------------------
[2011-01-23 10:10:02] 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.
------------------------------------------------------------------------
[2005-09-10 23:09:34] 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)
------------------------------------------------------------------------
[2005-09-08 20:52:18] 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-08 20:21:30] 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 */
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=34433&edit=1