load ENOEXEC on shared library(s) on aix
843829Oct 2 2003 — edited Oct 30 2003Hi
I'm working on AIX 64 bit mode (and all the code is compile in 64 bit mode).
when I'm trying to run my JNI tester, I get the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: ${LIBPATH}/libapi.so: load ENOEXEC on shared library(s) ${LIBPATH}/libapi.so
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1996)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1882)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:884)
at at [com ...]JavaAPI.<clinit>(JavaAPI.java:39).null(Unknown Source)
at Tester.main(Tester.java:62)
following recommendations from this forum (July 2002) I made sure the shared library is executable, and it is.
this program works on hp machine (also 64 bit mode).
does anyone have any ideas on how to solve this?
tnx