You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Kevin Shaw <Ke...@tertio.com> on 2001/10/17 18:52:24 UTC

Problems with Xerces / TCL integration




Hi,

I have written a simple TCL package in C++ (on a HP running HP-UX 11). This file
contains the package init procedure and a simple command. There are no
references to the Xerces API within the code. This package is made available as
a shared library.

The final application will (I hope) make use of the Xerces parser. I have
therefor added the Xerces shared library as one of the libraries to load as part
of loading my application shared library (i.e. included it in the link stage of
the compilation).

However, when I load, I get the following load failure messages:

/usr/lib/dld.sl: Unresolved symbol: __ZStaticCtorTable_Start (data)  from
/usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: __ZStaticCtorTable_End (data)  from
/usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: __StaticCtorTable_Start (data)  from
/usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: __StaticCtorTable_End (data)  from
/usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved module for symbol: __shlinit (code)  from
/usr/lib/libstream.2
couldn't load file "../lib/libxmlgenxerces.sl": unresolved symbol name

(libxmlgenxerces.sl is the name of the library containing the TCL apckage to be
loaded).

The tclsh I am loading it into was built using a C compiler (not the C++
compiler). I think that this might have something to do with it - but am not
sure.

When this same library is linked with the executable samples (linked with the
C++ compiler), then there are no problems.

Anyone got any ideas about what I need to do ?

Kev Shaw

Tertio Limited  -  One Angel Square,   Torrens Street,   London  EC1V 1PL
Tel: +44 (0)207 843 4000 Fax: +44 (0)207 843 4001 Web http://www.tertio.com
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Tertio Ltd.



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org