You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Christopher Lawson <Ch...@cgifederal.com> on 2007/09/28 10:53:42 UTC
Unresolved symbols on AIX 5.3
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.
rtld: 0712-001 Symbol
__ct__Q2_11xercesc_2_59DOMParserFCPQ2_11xercesc_2_512XMLValidatorCPQ2_11
xercesc_2_513MemoryManagerCPQ2_11xercesc_2_514XMLGrammarPool was
referenced
from module /apps/lib/libdom62.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol setDoValidation__Q2_11xercesc_2_59DOMParserFCb was
referenced
from module /apps/lib/libdom62.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol
setValidationScheme__Q2_11xercesc_2_59DOMParserFCQ3_11xercesc_2_59DOMPar
ser10ValSchemes was referenced
from module /apps/lib/libdom62.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol
setErrorHandler__Q2_11xercesc_2_59DOMParserFCPQ2_11xercesc_2_512ErrorHan
dler was referenced
from module /apps/lib/libdom62.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol
setEntityResolver__Q2_11xercesc_2_59DOMParserFCPQ2_11xercesc_2_514Entity
Resolver was referenced
from module /apps/lib/libdom62.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol
__ct__Q2_11xercesc_2_517MemBufInputSourceFCPCUcCUiCPCcCbCPQ2_11xercesc_2
_513MemoryManager was referenced
from module /apps/lib/libdom62.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol
Initialize__Q2_11xercesc_2_516XMLPlatformUtilsFCPCcCPCcCPQ2_11xercesc_2_
512PanicHandlerCPQ2_11xercesc_2_513MemoryManager was referenced
from module /apps/lib/libdom62.so(), but a runtime definition
of the symbol was not found.
Thanks,
Shane
C. Shane Lawson
Software Development Consultant
CGI Federal ERP Group
Southwest VA Center of Excellence
T: 276.889.8411
E: Christopher.Lawson@cgifederal.com
http://www.cgifederal.com <http://www.cgifederal.com/>
Re: Unresolved symbols on AIX 5.3
Posted by David Bertoni <db...@apache.org>.
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
Re: Unresolved symbols on AIX 5.3
Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi,
Christopher Lawson <Ch...@cgifederal.com> writes:
> 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.
Have you tried to use the Xerces-C++ 2.8.0 binary for AIX? It was built
and tested on AIX 5.3:
http://xerces.apache.org/xerces-c/download.cgi
Boris
--
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding