From: [EMAIL PROTECTED] (Jason E. Stewart) Date: Thu, 22 Apr 2004 16:06:30 +0530
Unfortunately the dynamic loading problem you are having could be caused by any number or errors and without more information we are unlikely to be able to help. Is it a RedHat system? No, it's Debian. I used apt-get to download and install the libxerces-related packages from Debian's testing distribution of libxerces 2.3.0-1.1 (libxerces23, libxerces23-dev, libxerces23-doc). The specific package names are: libxerces23_2.3.0-1.1_i386.deb libxerces23-dev_2.3.0-1.1_i386.deb libxerces23-doc_2.3.0-1.1_all.deb The link error I reported occured with these binaries. I also tried compiling Xerces from source, but the process trips fatally with: g++ -fPIC -DLINUX -D_REENTRANT -c -I/home/jones/build/xerces-c-src_2_3_0/include -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_ICU_TRANSCODER -I/opt/include -DXML_USE_INMEM_MESSAGELOADER -DAPP_NO_THREADS -DXML_USE_NO_THREADS -DXML_USE_NETACCESSOR_SOCKET -o /home/jones/build/xerces-c-src_2_3_0/obj/LINUX/DOMDocumentImpl.o DOMDocumentImpl.cpp /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c: In method `xercesc_2_3::DOMDeepNodeListPool<xercesc_2_3::DOMDeepNodeListImpl>::DOMDeepNodeListPool(long unsigned int, bool, long unsigned int = 128)': DOMDocumentImpl.cpp:900: instantiated from here /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Internal compiler error. /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Please submit a full bug report. /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Internal compiler error: /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[2]: *** [DOMDocumentImpl.o] Error 1 make[2]: Leaving directory `/home/jones/build/xerces-c-src_2_3_0/src/xercesc/dom/impl' make[1]: *** [impl] Error 2 make[1]: Leaving directory `/home/jones/build/xerces-c-src_2_3_0/src/xercesc/dom' make: *** [Dom] Error 2 The source I used was from the tarball xerces23_2.3.0.orig.tar.gz My compiler is gcc 2.95.4. Thanks! kj --=-=-= This is a bug with XML-Xerces-2.3.0-4. After uneventful "perl Makefile.PL" and "make", all tests run during "make test" fail, all with the same error. For example: Can't load '/home/jones/.cpan/build/XML-Xerces-2.3.0-4/blib/arch/auto/XML/Xerces/Xerces.so' for module XML::Xerces: /home/jones/.cpan/build/XML-Xerces-2.3.0-4/blib/arch/auto/XML/Xerces/Xerces.so: undefined symbol: _Q211xercesc_2_316XMLPlatformUtils.fgMemoryManager at /opt/lib/perl5/5.8.3/i686-linux/DynaLoader.pm line 229. at /home/jones/.cpan/build/XML-Xerces-2.3.0-4/blib/lib/XML/Xerces.pm line 7 Compilation failed in require at t/AttributeList.t line 11. $ perl -v This is perl, v5.8.3 built for i686-linux ... $ uname -a Linux luna 2.4.18c #1 Sun Apr 4 17:45:51 EDT 2004 i686 unknown The only unusual aspect of my system is that perl is installed with prefix '/opt' instead of prefix '/usr' or '/usr/local'. Thanks, kj --=-=-=-- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
