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 ma...@gxs.com on 2014/08/12 15:50:56 UTC

Problem building on AIX 6.1 - Update


I'm having problems building on AIX 6.1, the compiler I'm using is "IBM XL C/C++ for AIX, V12.1".  Everything seems to build but when I dump the built library I get this output:

/develop/tcagent/thirdparty/xerces-c-3.1.1/dist/lib/libxerces-c.a[stricmp.o]:

Loader section is not available

/develop/tcagent/thirdparty/xerces-c-3.1.1/dist/lib/libxerces-c.a[strnicmp.o]:

Loader section is not available

When running the configuration I did notice this warning:

checking whether the xlc_r linker (xlC_r) supports shared libraries...

*** Warning: the GNU linker, at least up to release 2.9.1, is reported

*** to be unable to reliably create shared libraries on AIX.

*** Therefore, libtool is disabling shared libraries support.  If you

*** really care for shared libraries, you may want to modify your PATH

*** so that a non-GNU linker is found, and then restart.

Has anyone seen this before?

This problem shows itself as a runtime link error, something like this:
exec(): 0509-036 Cannot load program ./bin/cservr because of the following errors:
        0509-130 Symbol resolution failed for /develop/tcagent/Trandev53_mi/bin/libotrans.a(otrans.o) because:
        0509-136   Symbol __dt__Q2_11xercesc_3_114EntityResolverFv (number 235) is not exported from
                   dependent module /develop/tcagent/Trandev53_mi/bin/libxml_server.a(libxml_server.o).
        0509-136   Symbol __dftdt__Q2_11xercesc_3_16XMLURLFv (number 236) is not exported from
                   dependent module /develop/tcagent/Trandev53_mi/bin/libxml_server.a(libxml_server.o).
        0509-136   Symbol __dt__Q2_11xercesc_3_112ErrorHandlerFv (number 237) is not exported from
                   dependent module /develop/tcagent/Trandev53_mi/bin/libxml_server.a(libxml_server.o).
        0509-026 System error: Error 0
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.


Mark Morse
Sr. Software Developer | Document Semantics
Phone:    +1 (972) 643 3005
Website: www.opentext.com<http://www.opentext.com>

[http://www.opentext.com/2/emailsupport-logo-opentext-2010.gif]<http://www.opentext.com/2/email-signature-logo>

GXS is now OpenText.