Coredump - Xerces duplicated symbols

ender0123_at_gmail.com
Date: 02/08/05

  • Next message: Fred Zwarts: "Re: How to add a TZ87 drive on alphaserver 100 tru64 v4.0"
    Date: 8 Feb 2005 09:48:01 -0800
    
    

    Hello,

    We have a problem with Xerces duplicated symbols in libraries, which
    causes a coredump.

    We have developed a shared library (.so) using Xerces 2.3.0. Our
    library is called by other external application, which links with many
    others libraries. One of this libraries includes (embedded) Xerces
    1.1.0.

        xerces-c.so.23 - Our.so ------ ext.so (including Xerces 1.1.0)
                                   |
                                  App

    Debugging application found out that Initilizing in App, Xerces 2.3.0,
    internally calls to Initialize method from Xerces 1.1.0 (exported by
    ext.so), it causes a coredump.

    Is there any way to hide symbols of Xerces ext.so or, isolate
    xerces-c.so.23 calls?

    We have created static Xerces 2.3.0 library, but still calls Xerces
    1.1.0. We are checking ld options, looking for option which allows hide
    symbols, but we haven't results.

    Any help would be appreciate,

    Best regards,
    J


  • Next message: Fred Zwarts: "Re: How to add a TZ87 drive on alphaserver 100 tru64 v4.0"

    Relevant Pages

    • Re: static && non-static libraries, duplicated symbols, core
      ... (according to nm it has xerces && xalan inside). ... This library DOES NOT export anything, except its own API calls ... my idea is that the core is because xerces && xalan libraries are ...
      (comp.unix.programmer)
    • Re: XML Parsing
      ... I am having a lot of trouble understanding those libraries ... MSXML is a COM object. ... Xerces is C++ library. ...
      (microsoft.public.vc.language)
    • Re: Coredump - Xerces duplicated symbols
      ... > others libraries. ... One of this libraries includes Xerces ... > ext.so), it causes a coredump. ...
      (comp.unix.tru64)
    • static && non-static libraries, duplicated symbols, core
      ... (according to nm it has xerces && xalan inside). ... it looks like xalan/xerces libraries are mine: ... my idea is that the core is because xerces && xalan libraries are ... control access to the xerces && xalan ...
      (comp.unix.programmer)