Dear expert,
I run a test JNI program under linux, till the very last step, I run java HelloWorld
error below:
ava HelloWorld
Exception in thread "main" java.lang.UnsatisfiedLinkError: /a/custard/export44/mscit/jil1/foo/old/libhello.so: /a/custard/export44/mscit/jil1/foo/old/libhello.so: ELF file's phentsize not the expected size
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at HelloWorld.<clinit>(HelloWorld.java:6)
who know what is wrong with this?
Thanks
I run a test JNI program under linux, till the very last step, I run java HelloWorld
error below:
ava HelloWorld
Exception in thread "main" java.lang.UnsatisfiedLinkError: /a/custard/export44/mscit/jil1/foo/old/libhello.so: /a/custard/export44/mscit/jil1/foo/old/libhello.so: ELF file's phentsize not the expected size
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at HelloWorld.<clinit>(HelloWorld.java:6)
who know what is wrong with this?
Thanks