php_XML_ParserCreate error

Mike Sacauskis mikejs at
Sun Jan 8 23:09:49 PST 2006


I'm trying to install mambo on a 5.4 release.  I'm running into a 
problem with the mambo editor.  I've traced it to an error in the apache 

/libexec/ /usr/local/lib/php/20020429/ Undefined 
symbol "php_XML_ParserCreate"

I did an nm on the library and the symblols for 
php_XML_ParserCreate are undefined.

00006940 t parserInit
         U php_XML_ErrorString
         U php_XML_ExpatVersion
         U php_XML_GetCurrentByteIndex
         U php_XML_GetCurrentColumnNumber
         U php_XML_GetCurrentLineNumber
         U php_XML_GetErrorCode
         U php_XML_Parse
         U php_XML_ParserCreate
         U php_XML_ParserCreateNS
         U php_XML_ParserFree
         U php_XML_SetCharacterDataHandler
         U php_XML_SetDefaultHandler
         U php_XML_SetElementHandler
         U php_XML_SetEndNamespaceDeclHandler
         U php_XML_SetExternalEntityRefHandler
         U php_XML_SetNotationDeclHandler
         U php_XML_SetProcessingInstructionHandler
         U php_XML_SetStartNamespaceDeclHandler
         U php_XML_SetUnparsedEntityDeclHandler
         U php_XML_SetUserData
         U php_error_docref0

There are macros in /usr/ports/lang/php4/work/php-4.4.1/main that map 
the php_XML routines to XML_ routines.  Is this how these symbols are 
supposed to be resolved?  If so is there something that needs to be 
configured to allow this?

These are the ports I have installed:

apache-1.3.34_3     The extremely popular Apache http server. Very fast, 
php4-4.4.1_3        PHP Scripting Language (Apache Module and CLI)
php4-gd-4.4.1_3     The gd shared extension for php
php4-mysql-4.4.1_3  The mysql shared extension for php
php4-pcre-4.4.1_3   The pcre shared extension for php
php4-session-4.4.1_3 The session shared extension for php
php4-xml-4.4.1_3    The xml shared extension for php
php4-zlib-4.4.1_3   The zlib shared extension for php

Any help would be greatly appreciated.

Mike Sacauskis

More information about the freebsd-questions mailing list