Hi,

I'm trying to write an application which has to read an EID card. My computer is a Mac Os X
I followed the eid_developers_guide and tried to run a sample application.
Unfortunately I get an error when trying to run the application.

The exception is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/lib/libbeidlibJava_Wrapper.3.5.4.dylib: no suitable image found. Did find: /usr/local/lib/libbeidlibJava_Wrapper.3.5.4.dylib: mach-o, but wrong architecture /usr/local/lib/libbeidlibJava_Wrapper.3.5.4.dylib: mach-o, but wrong architecture
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1823)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1738)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at cardreader.main.main(main.java:250)

this is thrown when calling: System.loadLibrary("beidlibJava_Wrapper")

The file is present on the disk.

Can anyone help me out? Do I need to reinstall something, install something else?

thanks