From owner-freebsd-questions@FreeBSD.ORG Fri Jun 16 08:50:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50C6916A47A for ; Fri, 16 Jun 2006 08:50:52 +0000 (UTC) (envelope-from david@landgren.net) Received: from sferics.mongueurs.net (sferics.mongueurs.net [81.80.147.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id D535243D45 for ; Fri, 16 Jun 2006 08:50:51 +0000 (GMT) (envelope-from david@landgren.net) Received: from [127.0.0.1] (exo.bpinet.com [81.80.147.206]) by sferics.mongueurs.net (Postfix) with ESMTP id C5723A926; Fri, 16 Jun 2006 10:50:50 +0200 (CEST) Message-ID: <449270EA.2090404@landgren.net> Date: Fri, 16 Jun 2006 10:50:50 +0200 From: David Landgren Organization: The Lusty Decadent Delights of Imperial Pompeii User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: mikejs@mbay.net References: <43C20C3D.9040106@mbay.net> In-Reply-To: <43C20C3D.9040106@mbay.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: php_XML_ParserCreate error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 08:50:52 -0000 Mike Sacauskis wrote: > Hi > > 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. Best, David > 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