Mike Sacauskis wrote:

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 log:

/libexec/ld-elf.so.1: /usr/local/lib/php/20020429/xml.so: Undefined symbol "php_XML_ParserCreate"

Hello Mike,

I have just run into this same problem. Did you ever get the problem resolved to your satisfaction? I've just rebuilt php using a more recent version (4.4.0), and I'm getting the same error, and I can't see what's missing either.


I did an nm on the xml.so 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, very
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

Much of the propaganda that passes for news in our own society is given to immobilising and pacifying people and diverting them from the idea that they can confront power. -- John Pilger

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to