Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 85440 invoked from network); 7 Jan 2009 04:51:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2009 04:51:43 -0000 Received: (qmail 1786 invoked by uid 500); 7 Jan 2009 04:51:43 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 1768 invoked by uid 500); 7 Jan 2009 04:51:43 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 1759 invoked by uid 99); 7 Jan 2009 04:51:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 20:51:43 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rajikacc@gmail.com designates 209.85.142.186 as permitted sender) Received: from [209.85.142.186] (HELO ti-out-0910.google.com) (209.85.142.186) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 04:51:34 +0000 Received: by ti-out-0910.google.com with SMTP id y6so7098077tia.18 for ; Tue, 06 Jan 2009 20:51:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=Hx+uMH5SR5lyoVeXCqb+kFwNKPS9JMmIuk95INAFksQ=; b=hy+b7zI11xEQZ6U/N6GDQdJIHlKq+qNuszcVkRugrPayOMiX02UpuaBE6KUXR9ieU9 C/tBZ1NRmS804K9qzQep5pgXaoWla6admxe6/5x4dWZtah0BUdVO9Mze71k/OiD9l3j9 fsTNP2uzWq7TO0LB0Fjy0ca9gHyPE/k7chtmg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=NsX5/KfP66KAqPiB/CFQnq8+EmyJxJCT3Q7kG06XYaWj13y+uxIeZQq2lyqpmKyzs8 upUvxf7SZG4m5UON+5/PcaEjwpV5MyU5HUmcNH4ChrAX/0ZzQxDQxe4aC+p8/VUG5dsJ Hf0mvsRTF+87h6Tur5iBAoCT5qFOaseGpXB5I= Received: by 10.110.8.5 with SMTP id 5mr7567858tih.33.1231303871886; Tue, 06 Jan 2009 20:51:11 -0800 (PST) Received: by 10.110.43.7 with HTTP; Tue, 6 Jan 2009 20:51:11 -0800 (PST) Message-ID: <696bc1d50901062051n47c2d5b6ua05ba3b4a6076b47@mail.gmail.com> Date: Wed, 7 Jan 2009 10:21:11 +0530 From: "Rajika Kumarasiri" To: "Apache AXIS C Developers List" Subject: Re: Got "undefined symbol" error when calling Axis2C Soap client from JNI In-Reply-To: <5327eb1c0901061441y66c09a0fkfe4586b0e48be71b@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_271648_1239252.1231303871875" References: <5327eb1c0901061441y66c09a0fkfe4586b0e48be71b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_271648_1239252.1231303871875 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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/ ------=_Part_271648_1239252.1231303871875 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

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 <ellen.chou@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/
------=_Part_271648_1239252.1231303871875--