Try exporting the ENV variable before you call your program: export LD_LIBRARY_PATH=path_to_so
set this in your shell, or in the script that starts the java program. hope it helps, joe Robert Morse wrote:
Within my AXIS service, I need to call some legacy code that is in a .so
file. I have the Java wrappers written, and a small Java test program
successfully calls the C routines in the library. My problem is where
to put the .so files so that my Axis service can find them. I've tried
defining java.library.path, setting LD_LIBRARY_PATH with no luck. My
environment is Sun Solaris (SPARC), Tomcat 4.1.18-LE, jdk 1.4.1. The
exception is a:
java.lang.reflect.InvocationTargetException
caused by:
java.lang.UnsatisfiedLinkError.
Any suggestions?
.
