You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Ellen Chou <el...@gmail.com> on 2009/01/06 23:41:12 UTC
Got "undefined symbol" error when calling Axis2C Soap client from JNI
Hi all,
I have developed a Soap client shared library (libClient_Api.so) using
Axis2C. I have no problem using this shared library in any C application.
But for some reason, when I try to use the shared library from JNI c
library. I got the following error
java: symbol lookup error" /home/axis2c/lib/libaxis2_http_receiver.so:
undefined symbol: axis2_transport_in_desc_param_container
It seems like Axis2C library path is not recognized by JNI environment.
Have anyone run into the similar problem?
Any help would be appreciated.
Thanks,
Ellen
Re: Got "undefined symbol" error when calling Axis2C Soap client from JNI
Posted by Rajika Kumarasiri <ra...@gmail.com>.
hi,
Relink the library which defines the symbol with your application and try
again.
-Rajika
On Wed, Jan 7, 2009 at 4:11 AM, Ellen Chou <el...@gmail.com> wrote:
> Hi all,
>
> I have developed a Soap client shared library (libClient_Api.so) using
> Axis2C. I have no problem using this shared library in any C application.
> But for some reason, when I try to use the shared library from JNI c
> library. I got the following error
>
> java: symbol lookup error" /home/axis2c/lib/libaxis2_http_receiver.so:
> undefined symbol: axis2_transport_in_desc_param_container
>
> It seems like Axis2C library path is not recognized by JNI environment.
>
> Have anyone run into the similar problem?
>
> Any help would be appreciated.
>
> Thanks,
> Ellen
>
--
http://wso2.org/
http://llvm.org/
http://www.osdev.org/