[MacPorts] #28249: Symbol not found: _XML_ParserCreate calling wddx_* functions in PHP
MacPorts
noreply at macports.org
Tue Feb 1 22:43:55 PST 2011
#28249: Symbol not found: _XML_ParserCreate calling wddx_* functions in PHP
---------------------------------+------------------------------------------
Reporter: jlist@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Low | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: php5
---------------------------------+------------------------------------------
Please don't re-categorize this as a php5-wddx issue.
The lib built by php5-wddx works fine for mod_php because that's build by
apache2 which is built with expat. But it '''doesn't''' work for fastcgi
because that's built as part of the php5 port which does not enable expat.
So, when trying to use wddx in fastcgi (or CLI) you get the following
error:
{{{
Symbol not found: _XML_ParserCreate
}}}
Fix for this is something like:
{{{
--- Portfile.orig 2011-02-01 22:42:54.000000000 -0800
+++ Portfile 2011-02-01 22:41:47.000000000 -0800
@@ -84,6 +84,7 @@
--with-mhash=${prefix} \
--with-pcre-regex=${prefix} \
--with-readline=${prefix} \
+ --with-libexpat-dir=${prefix} \
--with-libxml-dir=${prefix} \
--with-zlib=${prefix} \
--without-pear \
}}}
--
Ticket URL: <https://trac.macports.org/ticket/28249>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list