alok verma wrote:
Hi all,
I am using xerces-c version 2.1.0 as thirdparty for my code compilation on
HP-UX Itanium platform.
When I try to run on of my executables generated I get the following error.
*$ executable
/usr/lib/hpux32/dld.so: Unsatisfied data symbol '_ZSt4cout' in load module
'libpath/libxerces-c.sl.21'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol
'_ZNSt8ios_base18_C_sync_with_stdioE' in load module 'libpath/libxerces-
c.sl.21'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol '_ZSt16__rw_std_streams' in
load module 'libpath/libxerces-c.sl.21'.
/usr/lib/hpux32/dld.so: Unsatisfied code symbol
'_ZNSt8ios_base4InitD1Ev' in
load module 'libpath/libxerces- c.sl.21'.
/usr/lib/hpux32/dld.so: Unsatisfied data symbol '_ZTISt8numpunctIcE' in
load
module 'libpath/libxerces-c.sl.21'.
Killed
$*
When I check the xerces libraries the linking of the libraries seems to be
fine as below.
*-rwxrwxr-x 1 ak ouser 12801068 Feb 1 05:37 libxerces-c.sl.21.0
lrwxrwxr-x 1 ak ouser 70 Feb 1 05:37 libxerces-c.sl.21 ->
/xerces/xerces-c-src2_1_0/lib/libxerces-c.sl.21.0
lrwxrwxr-x 1 ak ouser 68 Feb 1 05:37 libxerces-c.sl ->
/xerces/xerces-c-src2_1_0/lib/libxerces-c.sl.21*
While compiling xerces 2.1.0 following runConfigure command was used:
*./runConfigure –php-11 –ccc -xaCC -minmem -nsocket -tnative –rpthread*
I don't believe Xerces-C 2.1 was ever officially ported to IA64, so you are
likely to have some problems. There are multiple versions of the HP
standard libraries, and you need to make sure you get the right compiler
options to select the one you want.
Also, you will need to make sure your application links with the same
version of the standard library.
You should review the man page for the compiler for more details.
Dave