From: [EMAIL PROTECTED] Operating system: mac os x 10.2.2 PHP version: 4CVS-2002-11-26 (stable) PHP Bug Type: Compile Failure Bug description: Problem with expat ?
Configure php with this commandline : ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --mandir=/usr/share/man --infodir=/usr/share/info --with-config-file-path=/etc/httpd --enable-calendar --with-iconv=/usr/local --enable-exif --enable-ftp --enable-wddx --with-xml --with-zlib --with-curl=/usr --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-imap=../imap-2002 --with-imap-ssl=/usr --with-curl=/usr --enable-xslt --with-xslt-sablot=/usr/local --with-mcrypt=/usr/local --with-mhash=/usr/local --with-mysql=/usr/local/mysql --with-expat-dir=/usr/local I installed last version of expat in /usr/local When I compile php, It fails with this result : d: warning multiple definitions of symbol _XML_GetCurrentByteIndex /usr/sbin/httpd definition of _XML_GetCurrentByteIndex /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_GetCurrentByteIndex ld: warning multiple definitions of symbol _XML_DefaultCurrent /usr/sbin/httpd definition of _XML_DefaultCurrent /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_DefaultCurrent ld: warning multiple definitions of symbol _XML_ErrorString /usr/sbin/httpd definition of _XML_ErrorString /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_ErrorString ld: warning multiple definitions of symbol _XML_ExternalEntityParserCreate /usr/sbin/httpd definition of _XML_ExternalEntityParserCreate /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_ExternalEntityParserCreate ld: warning multiple definitions of symbol _XML_GetBase /usr/sbin/httpd definition of _XML_GetBase /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_GetBase ld: warning multiple definitions of symbol _XML_GetBuffer /usr/sbin/httpd definition of _XML_GetBuffer /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_GetBuffer ld: warning multiple definitions of symbol _XML_GetCurrentByteCount /usr/sbin/httpd definition of _XML_GetCurrentByteCount /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_GetCurrentByteCount ld: warning multiple definitions of symbol _XML_GetCurrentColumnNumber /usr/sbin/httpd definition of _XML_GetCurrentColumnNumber /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_GetCurrentColumnNumber ld: warning multiple definitions of symbol _XML_GetCurrentLineNumber /usr/sbin/httpd definition of _XML_GetCurrentLineNumber /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_GetCurrentLineNumber ld: warning multiple definitions of symbol _XML_GetErrorCode /usr/sbin/httpd definition of _XML_GetErrorCode /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_GetErrorCode ld: warning multiple definitions of symbol _XML_GetSpecifiedAttributeCount /usr/sbin/httpd definition of _XML_GetSpecifiedAttributeCount /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_GetSpecifiedAttributeCount ld: warning multiple definitions of symbol _XML_Parse /usr/sbin/httpd definition of _XML_Parse /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_Parse ld: warning multiple definitions of symbol _XML_ParseBuffer /usr/sbin/httpd definition of _XML_ParseBuffer /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_ParseBuffer ld: warning multiple definitions of symbol _XML_ParserCreate /usr/sbin/httpd definition of _XML_ParserCreate /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_ParserCreate ld: warning multiple definitions of symbol _XML_ParserCreateNS /usr/sbin/httpd definition of _XML_ParserCreateNS /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_ParserCreateNS ld: warning multiple definitions of symbol _XML_ParserFree /usr/sbin/httpd definition of _XML_ParserFree /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_ParserFree ld: warning multiple definitions of symbol _XML_SetBase /usr/sbin/httpd definition of _XML_SetBase /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetBase ld: warning multiple definitions of symbol _XML_SetCdataSectionHandler /usr/sbin/httpd definition of _XML_SetCdataSectionHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetCdataSectionHandler ld: warning multiple definitions of symbol _XML_SetCharacterDataHandler /usr/sbin/httpd definition of _XML_SetCharacterDataHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetCharacterDataHandler ld: warning multiple definitions of symbol _XML_SetCommentHandler /usr/sbin/httpd definition of _XML_SetCommentHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetCommentHandler ld: warning multiple definitions of symbol _XML_SetDefaultHandler /usr/sbin/httpd definition of _XML_SetDefaultHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetDefaultHandler ld: warning multiple definitions of symbol _XML_SetDefaultHandlerExpand /usr/sbin/httpd definition of _XML_SetDefaultHandlerExpand /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetDefaultHandlerExpand ld: warning multiple definitions of symbol _XML_SetElementHandler /usr/sbin/httpd definition of _XML_SetElementHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetElementHandler ld: warning multiple definitions of symbol _XML_SetEncoding /usr/sbin/httpd definition of _XML_SetEncoding /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetEncoding ld: warning multiple definitions of symbol _XML_SetExternalEntityRefHandler /usr/sbin/httpd definition of _XML_SetExternalEntityRefHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetExternalEntityRefHandler ld: warning multiple definitions of symbol _XML_SetExternalEntityRefHandlerArg /usr/sbin/httpd definition of _XML_SetExternalEntityRefHandlerArg /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetExternalEntityRefHandlerArg ld: warning multiple definitions of symbol _XML_SetNamespaceDeclHandler /usr/sbin/httpd definition of _XML_SetNamespaceDeclHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetNamespaceDeclHandler ld: warning multiple definitions of symbol _XML_SetNotStandaloneHandler /usr/sbin/httpd definition of _XML_SetNotStandaloneHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetNotStandaloneHandler ld: warning multiple definitions of symbol _XML_SetNotationDeclHandler /usr/sbin/httpd definition of _XML_SetNotationDeclHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetNotationDeclHandler ld: warning multiple definitions of symbol _XML_SetProcessingInstructionHandler /usr/sbin/httpd definition of _XML_SetProcessingInstructionHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetProcessingInstructionHandler ld: warning multiple definitions of symbol _XML_SetUnknownEncodingHandler /usr/sbin/httpd definition of _XML_SetUnknownEncodingHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetUnknownEncodingHandler ld: warning multiple definitions of symbol _XML_SetUnparsedEntityDeclHandler /usr/sbin/httpd definition of _XML_SetUnparsedEntityDeclHandler /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetUnparsedEntityDeclHandler ld: warning multiple definitions of symbol _XML_SetUserData /usr/sbin/httpd definition of _XML_SetUserData /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_SetUserData ld: warning multiple definitions of symbol _XML_UseParserAsHandlerArg /usr/sbin/httpd definition of _XML_UseParserAsHandlerArg /usr/local/lib/libexpat.dylib(xmlparse.lo) definition of _XML_UseParserAsHandlerArg ld: warning multiple definitions of symbol _XmlUtf16Encode /usr/sbin/httpd definition of _XmlUtf16Encode /usr/local/lib/libexpat.dylib(xmltok.lo) definition of _XmlUtf16Encode ld: warning multiple definitions of symbol _XmlInitEncoding /usr/sbin/httpd definition of _XmlInitEncoding /usr/local/lib/libexpat.dylib(xmltok.lo) definition of _XmlInitEncoding ld: warning multiple definitions of symbol _XmlInitUnknownEncoding /usr/sbin/httpd definition of _XmlInitUnknownEncoding /usr/local/lib/libexpat.dylib(xmltok.lo) definition of _XmlInitUnknownEncoding ld: warning multiple definitions of symbol _XmlParseXmlDecl /usr/sbin/httpd definition of _XmlParseXmlDecl /usr/local/lib/libexpat.dylib(xmltok.lo) definition of _XmlParseXmlDecl ld: warning multiple definitions of symbol _XmlGetUtf8InternalEncoding /usr/sbin/httpd definition of _XmlGetUtf8InternalEncoding /usr/local/lib/libexpat.dylib(xmltok.lo) definition of _XmlGetUtf8InternalEncoding ld: warning multiple definitions of symbol _XmlSizeOfUnknownEncoding /usr/sbin/httpd definition of _XmlSizeOfUnknownEncoding /usr/local/lib/libexpat.dylib(xmltok.lo) definition of _XmlSizeOfUnknownEncoding ld: warning multiple definitions of symbol _XmlUtf8Encode /usr/sbin/httpd definition of _XmlUtf8Encode /usr/local/lib/libexpat.dylib(xmltok.lo) definition of _XmlUtf8Encode ld: warning multiple definitions of symbol _XmlGetUtf16InternalEncoding /usr/sbin/httpd definition of _XmlGetUtf16InternalEncoding /usr/local/lib/libexpat.dylib(xmltok.lo) definition of _XmlGetUtf16InternalEncoding ld: warning multiple definitions of symbol _XmlPrologStateInit /usr/sbin/httpd definition of _XmlPrologStateInit /usr/local/lib/libexpat.dylib(xmlrole.lo) definition of _XmlPrologStateInit ld: Undefined symbols: vtable for __cxxabiv1::__class_type_info vtable for __cxxabiv1::__si_class_type_info operator delete[](void*) operator delete(void*) operator new(unsigned long) ___gxx_personality_v0 std::terminate() operator new[](unsigned long) vtable for __cxxabiv1::__vmi_class_type_info ___cxa_pure_virtual make: *** [libs/libphp4.bundle] Error 1 -- Edit bug report at http://bugs.php.net/?id=20646&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20646&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20646&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20646&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20646&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20646&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20646&r=support Expected behavior: http://bugs.php.net/fix.php?id=20646&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20646&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20646&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20646&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20646&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20646&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20646&r=isapi