Note that there are some explanatory texts on larger screens.

plurals
  1. POsymbol lookup error undefined symbol using WSF
    primarykey
    data
    text
    <p>I am getting this at runtime:</p> <p><code>./LibTestApp: symbol lookup error: libaxis2_mod_addr.so: undefined symbol: axis2_handler_create</code></p> <p>on command <code>user1@ubuntu:nm path/libaxis2_mod_addr.so | grep axis2_handler_create</code> the output is:<code>U axis2_handler_create</code>where U confirms that it's undefined.</p> <p>on command <code>user1@ubuntu:ldd path/libaxis2_mod_addr.so</code> i get:</p> <p><code>linux-gate.so.1 =&gt; (0xb7787000)<br> libaxis2_axiom.so.0 =&gt; /opt/wso2/wsf_cpp/lib/libaxis2_axiom.so.0 (0xb7749000)<br> libaxutil.so.0 =&gt; /opt/wso2/wsf_cpp/lib/libaxutil.so.0 (0xb771e000)<br> libc.so.6 =&gt; /lib/i386-linux-gnu/libc.so.6 (0xb7553000)<br> libaxis2_parser.so.0 =&gt; /opt/wso2/wsf_cpp/lib/libaxis2_parser.so.0 (0xb754a000)<br> libpthread.so.0 =&gt; /lib/i386-linux-gnu/libpthread.so.0 (0xb752f000)<br> libdl.so.2 =&gt; /lib/i386-linux-gnu/libdl.so.2 (0xb752a000)<br> /lib/ld-linux.so.2 (0xb7788000)<br> libguththila.so.0 =&gt; /opt/wso2/wsf_cpp/lib/libguththila.so.0 (0xb7519000)</code></p> <p>No one of this linked libraries contains <code>axis2_handler_create</code> and no one is linked with libaxis2_engine witch contains disired symbol(axis2_handler_create).</p> <p>Is this a bug from WSF generate on building the framework described by missing the link to needed library? Or am i missing something? Any ideas how can i solve my problem?</p> <p><strong>EDIT:</strong></p> <p>Forgot to mention, code that load this library have been generated by <a href="http://wso2.com/project/wsf/cpp/2.0.0/docs/manual_content.html#15__WSDL2CPP_Tool" rel="nofollow">wsdl2cpp tool</a> based on Onvif WSDL files from <a href="http://www.onvif.org/onvif/ver20/util/operationIndex.html" rel="nofollow">here</a>. In my case it's just <a href="http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl" rel="nofollow">devicemgmt.wsdl</a> and <a href="http://www.onvif.org/onvif/ver10/media/wsdl/media.wsdl" rel="nofollow">media.wsdl</a>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload