Skip to Main Content

Java SE (Java Platform, Standard Edition)

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!

dependent system libraries - LD_LIBRARY_PATH workaround

843802Jul 18 2007 — edited Jul 27 2007
Hi,

libA.so depends on libB.so.

The System.loadLibrary("A") call fails with the following error:
 java.lang.UnsatisfiedLinkError:
  /home/apptest/.java/deployment/cache/6.0/8/543d1248-5a10af09-n/libA.so:
  libB.so: cannot open shared object file: No such file or directory
If the application is started from batch this problem can be fixed by setting the LD_LIBRARY_PATH properly.
I do not know however how to fix the issue when the application is started via JWS.

I appreciate any help.
Marton
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 24 2007
Added on Jul 18 2007
12 comments
224 views