[ http://nagoya.apache.org/jira/browse/XERCESC-1022?page=history ]
Alberto Massari updated XERCESC-1022: ------------------------------------- Priority: Major > XMLPlatformUtils::isAnySlash() causing dynamic loading errors > ------------------------------------------------------------- > > Key: XERCESC-1022 > URL: http://nagoya.apache.org/jira/browse/XERCESC-1022 > Project: Xerces-C++ > Type: Bug > Components: Build > Versions: 2.3.0 > Environment: Operating System: Linux > Platform: All > Reporter: Jason E. Stewart > Assignee: Xerces-C Developers Mailing List > Attachments: suse-error.txt > > Hey, > I've had a large number bug reports in Xerces-P for the 2.3.0 release related to > linking errors with isAnySlash(). For OS X the problems was eliminated by > removing the 'inline' directive from the .cpp file and recompiling. For Redhat > Linux this did not help, and Xerces-P was forced to remove the method from the > API to enable linking. > I'm at a loss to figure out why this one method should create problems on two > such different platforms. The linux user was using an old version of gcc (2.96), > so perhaps this is an issue? > From: Steve Mathias <[EMAIL PROTECTED]> > Subject: Re: Similar make test error > To: [EMAIL PROTECTED] > Date: Sat, 11 Oct 2003 09:35:18 -0600 > >> Can't load > >> '/usr/local/src/perl/XML-Xerces-2.3.0-1/blib/arch/auto/XML/Xerces/Xerces.so' > >> for module XML::Xerces: > >> /usr/local/src/perl/XML-Xerces-2.3.0-1/blib/arch/auto/XML/Xerces/Xerces.so: > >> undefined symbol: isAnySlash__Q211xercesc_2_316XMLPlatformUtilsUs at > >> /usr/local/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206. at > >> /usr/local/src/perl/XML-Xerces-2.3.0-1/blib/lib/XML/Xerces.pm line 7 > >> > >> I'm using xerces-c version 2_3_0 which I built myself with gcc > >> version 2.96 (I've tried a couple of the samples and they run fine) > >> and xerces-p version 2.3.0-1. > Jason> I don't have gcc-2.96 to test this on, but I don't think the gcc > Jason> version is the issue here. > Jason> I'm assuming that you've tried to run DOMCount or some other > Jason> Xerces-C application just to ensure the libxerces.so is working > Jason> fine? > Yes, all the xerces-c sample programs run fine. > Jason> If so then please grep the library symbols using the commands I > Jason> sent to Kai, and lets see what's happenging there. > Here's what I get: > # nm -C /usr/local/xerces-c-src_2_3_0/lib/libxerces-c.so | grep -i isanyslash > # nm -C > # /usr/local/src/perl/XML-Xerces-2.3.0-1/blib/arch/auto/XML/Xerces/Xerces.so > # | grep -i isanyslash > 0005de34 T _wrap_XMLPlatformUtils_isAnySlash > U xercesc_2_3::XMLPlatformUtils::isAnySlash(unsigned short) > So, I guess the error message is correct in reporting that the symbol is > undefined. I'm in a little over my head with all this compiler/linking > stuff though. How can I fix this? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]