ld synbol errors building XML::Parser on AIX 5.2

ld synbol errors building XML::Parser on AIX 5.2

am 30.06.2005 23:10:17 von newsbot

I'm attempting to build the XML::Parser module under Perl 5.8 and AIX
5.2. During make, I receive the following error:


Running Mkbootstrap for XML::Parser::Expat ()
chmod 644 Expat.bs
rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.so
LD_RUN_PATH="" ld -bhalt:4 -bM:SRE
-bI:/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.exp
-bE:Expat.exp -bnoentry -lpthreads -lc_r Expat.o -o
.../blib/arch/auto/XML/Parser/Expat/Expat.so
ld: 0711-317 ERROR: Undefined symbol: .XML_Parse
ld: 0711-317 ERROR: Undefined symbol: .XML_SetNamespaceDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetElementHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetUnknownEncodingHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetEndCdataSectionHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetStartCdataSectionHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_GetInputContext
ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentByteCount
ld: 0711-317 ERROR: Undefined symbol: .XML_ErrorString
ld: 0711-317 ERROR: Undefined symbol: .XML_GetSpecifiedAttributeCount
ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentByteIndex
ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentColumnNumber
ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentLineNumber
ld: 0711-317 ERROR: Undefined symbol: .XML_GetErrorCode
ld: 0711-317 ERROR: Undefined symbol: .XML_SetDefaultHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetDefaultHandlerExpand
ld: 0711-317 ERROR: Undefined symbol: .XML_DefaultCurrent
ld: 0711-317 ERROR: Undefined symbol: .XML_GetBase
ld: 0711-317 ERROR: Undefined symbol: .XML_SetBase
ld: 0711-317 ERROR: Undefined symbol: .XML_SetXmlDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetEndDoctypeDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetStartDoctypeDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetAttlistDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetElementDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetEntityDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetExternalEntityRefHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetNotationDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetUnparsedEntityDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetCommentHandler
ld: 0711-317 ERROR: Undefined symbol:
..XML_SetProcessingInstructionHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetCharacterDataHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_ParserFree
ld: 0711-317 ERROR: Undefined symbol: .XML_ParserCreate_MM
ld: 0711-317 ERROR: Undefined symbol: .XML_SetUserData
ld: 0711-317 ERROR: Undefined symbol: .XML_SetParamEntityParsing
ld: 0711-317 ERROR: Undefined symbol: .XML_ExternalEntityParserCreate
ld: 0711-317 ERROR: Undefined symbol: .XML_GetBuffer
ld: 0711-317 ERROR: Undefined symbol: .XML_ParseBuffer
ld: 0711-317 ERROR: Undefined symbol: .XML_SetCdataSectionHandler
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 8.


Does anyone know where the loader might be looking outside of the
objects specified on the command line to recolve these symbols and how
I might coax it into resolving these symbols? I am assuming
.../blib/arch/auto/XML/Parser/Expat/Expat.so, but in the make file
previous to the ld, the Expat.so is rm'd (as one can see in the output
above)?

Thanks for any insight anyone can shed on this issue. I've never had
so many difficulties with Perl and Perl modules as I have under AIX...!

-ceo