Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Loading a shared library in AIX / LINUX

829000Jan 28 2011 — edited Jan 28 2011
Hi,

I have an application running on AIX-64 BIT. The app is deployed on Webspshere server. I have to make use of a third party library (Sigar API's) from my application. This library requires a .so file as well. I tried to load the library using Websphere Console->Environment->Shared Libraries. I created a new configuration. In "ClassPath" entry, i gave the path of the folder where the third party library jar is copied and in the native library path, gave the path of the folder where my so file is located and restarted the server after that.

BUT ITS NOT PICKING UP THE *.SO FILE :(. Following is the error i am getting:

java.lang.UnsatisfiedLinkError: org/hyperic/sigar/Cpu.gather(Lorg/hyperic/sigar/Sigar;)V

Is there any other location like "/usr/lib" where i can put this *.so file and it will be read or loaded by the app server automatically or there is some specific procedure we need to follow for this.

Request you to tell me how to load / link / install this .so file. The name of the so file is libsigar-ppc64-aix-5.so?
I have been struggling on it for the last 2 days. Its really really urgent. I will really appreciate your help.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2011
Added on Jan 28 2011
1 comment
1,028 views