AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  Error while rrunning SO on AIX

    Posted 12/24/10 01:26 AM

    Originally posted by: yartik


    I am running a C++ shared object on AIX.
    But Its not running and throwing below error -

    rtld: 0712-001 Symbol __ct__3ETDFv was referenced
    from module /bancs/aml/lib/libmonitor.so(), but a runtime definition
    of the symbol was not found.

    I am using xlC.rte version 9.0.0.1
    I have also set the LIBPATH still it is not working.
    Please Help.
    #AIX-Forum


  • 2.  Re: Error while rrunning SO on AIX

    Posted 12/27/10 04:12 PM

    Originally posted by: flodstrom


    Most likely cause is that your binary or shared object is built incorrectly.

    You may need to specify the "-brtl" option to xlc when you compile your binary (see the man page for xlc for details). In case your shared object/library is also supposed to do run time linking you should build it with the "-G" option.

    You may already be aware of how libraries, shared objects, run time linking, etc. works in AIX? However, just to be sure read the following.

    http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp?topic=%2Fcom.ibm.vacpp7a.doc%2Fgetstart%2Foverview%2Fport_aix_obj_lib.htm

    Some examples on how to build a shared library with run time linking, etc.

    http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp?topic=%2Fcom.ibm.vacpp7a.doc%2Fproguide%2Fref%2Fcompile_library.htm
    #AIX-Forum


  • 3.  Re: Error while rrunning SO on AIX

    Posted 01/12/11 12:07 AM

    Originally posted by: yartik


    Hi,

    The same shared object is running on another server os I think the .so file is fine but some issue with configurations.
    Please let me know if you have any other idea.
    #AIX-Forum