From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,6cce24dbc6a85530 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!not-for-mail From: the_edge123.nospam@club-internet.fr (Fabien R) Newsgroups: comp.unix.tru64 Subject: Re: Coredump - Xerces duplicated symbols Date: 11 Feb 2005 00:44:15 -0800 Organization: http://groups.google.com Message-ID: <40c9e591.0502110044.48ce6e48@posting.google.com> References: <1107884881.717437.137170@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: 57.250.245.249 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1108111456 17349 127.0.0.1 (11 Feb 2005 08:44:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 11 Feb 2005 08:44:16 +0000 (UTC) Xref: g2news1.google.com comp.unix.tru64:584 ender0123@gmail.com wrote in message news:<1107884881.717437.137170@g14g2000cwa.googlegroups.com>... > 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 I built xerces 2.4 from the source code. I use the namespace xerces2_4 when I call a xerces function. I don't known if I can compile without this directive. Have a look at the apache.org website. - Fabien