1 Reply Latest reply on Feb 14, 2011 11:36 AM by 821266

    problems with running eid card


      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.java: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?