Hi,
i have a similar problem.
I have SuSE 10 64bit running with 64bit JVM.
I compiled jMagick from svn and there is a jMagick.so file and jMagick.jar
which is loaded when I use jMagick in my app.
But then comes the same error.
I took a look at the jMagick.so file - in the header is 64bit ELF flag so this must be ok.
But jvm throws an error:
Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/java/jdk1.6.0_05/jre/lib/ext/libJMagick.so: /usr/lib/java/jdk1.6.0_05/jre/lib/ext/libJMagick.so:
wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
Did u find any solution.
srinivasp wrote:
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/java/libJMagick.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
I have installed ImageMagick 6.4.1 on Mac OSX Leopard as suggested. Now i am trying to install JMagick 6.2.6. I got it configured and installed without a problem.
I have libJMagick.jnilib in /usr/lib/java & jmagick.jar in /Library/Java/Extensions.
Everything seems to be in-place. Am I missing something? Please help, been stumped for the past couple of days on this.
Thank you