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* Also If I do *nm *for the lixerxes lot many UNDEF symbols can be seen but strangely the error the above executable throws for only few of the UNDEF symbols seen in the nm output. Some part of the nm output is as shown below: [2689] | 0| 0|FUNC |GLOB |0| UNDEF|_ZNSo7_C_opfxEv [6069] | 0| 0|FUNC |GLOB |0| UNDEF|_ZNSt8ios_base15_C_unsafe_clearEii [4345] | 0| 0|OBJT |GLOB |0| UNDEF|_ZNSt8ios_base18_C_sync_with_stdioE [5278] | 0| 0|FUNC |GLOB |0| UNDEF|_ZNSt8ios_base4InitC1Ev [5108] | 0| 0|FUNC |GLOB |0| UNDEF|_ZNSt8ios_base4InitD1Ev [5253] | 72672896| 144|FUNC |GLOB |0| .text|_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateEi [11405] | 72672736| 144|FUNC |GLOB |0| .text|_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateEii [1632] | 0| 0|OBJT |GLOB |0| UNDEF|_ZSt16__rw_std_streams [9314] | 0| 0|OBJT |GLOB |0| UNDEF|_ZSt4cout Thanks and Regards Alok Verma
