Christopher Lawson wrote:
Hello, has anyone had issues linking your apps when Building on IBM AIX
5.3 and including the header files in your build? I got it to run fine
on AIX 5.2.
However, for 5.3, at run-time, I keep getting unresolved symbols for
xerces function calls even though I have the library correctly linked
in. Here's an example after booting one of the servers:
exec(): 0509-036 Cannot load program slpro because of the
following errors:
rtld: 0712-001 Symbol
__ct__Q2_11xercesc_2_520LocalFileInputSourceFCPCUsCPQ2_11xercesc_2_513Me
moryManager was referenced
from module /apps/lib/libdom62.so(), but a runtime definition
of the symbol was not found.
It looks like you're using run-time linking on AIX (which is neither
necessary, nor very helpful), instead of binding at link time. Have you
updated your LIBPATH environment variable to point to where you installed
the Xerces-C shared objects?
You might also do a "dump -H" on your executable to see what embedded paths
are present for the Xerces-C library. Perhaps you built with the library
in one location, then moved it. Examining the header will help figure out
where your application might be looking for Xerces-C.
Dave