ID: 15942
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Feedback
Bug Type: XSLT related
Operating System: Linux
-PHP Version: 4.1.2
+PHP Version: HEAD
New Comment:
When did you update the libxslt stuff? I've just modified the
configure script for domxml. Please get the latest CVS version and
retry. The fix I did may have fixed the problem.
Previous Comments:
------------------------------------------------------------------------
[2002-03-07 16:31:50] [EMAIL PROTECTED]
Important to note here that all the other domxml functions worked, it
was just the xslt functions that had trouble. Of course when the
module couldn't load, nothing worked.
------------------------------------------------------------------------
[2002-03-07 16:30:50] [EMAIL PROTECTED]
php: relocation error: /usr/lib/php4/domxml.so: undefined symbol:
xsltParseStylesheet*
I downloaded the snapshot and did the following
./configure --with-dom=shared --with-dom-xslt --with-dom-exslt
(I had libxslt and libxslt-devel 1.0.12 and the corresponding libxml2)
Then I copied the domxml.so to my extensions and tried to use one of
the domxml_xslt_stylesheet_* functions and received the above error. I
had previously build the module just after the libxslt functions were
added (around CVS version 1.102) and it worked fine.
In addition to this error, the following lines from the C file cause
the module not to load when left in the source code.
Line 1236:
xmlSetGenericErrorFunc(xmlGenericErrorContext,
(xmlGenericErrorFunc)domxml_error);
if HAVE_DOMXSLT
xsltSetGenericErrorFunc(xsltGenericErrorContext,
(xmlGenericErrorFunc)domxml_error);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15942&edit=1