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 try to disable the RTLD_DEEPBIND in Zend/zend.h and then make a build, and it also works fine. Previous Comments: ------------------------------------------------------------------------ [2005-09-10 23:09:34] sni...@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