Hi All,
I'm getting a weird error when I try to run the 64-bit version of the Arduino IDE on a 64-bit linux (Ubuntu 10.04):
joefernandez@joefernandez:~/opt/arduino-1.0-64bit$ ./arduino
java.lang.UnsatisfiedLinkError: /home/joefernandez/opt/arduino-1.0-64bit/lib/librxtxSerial.so: /home/joefernandez/opt/arduino-1.0-64bit/lib/librxtxSerial.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/joefernandez/opt/arduino-1.0-64bit/lib/librxtxSerial.so: /home/joefernandez/opt/arduino-1.0-64bit/lib/librxtxSerial.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1755)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1680)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at processing.app.Editor.populateSerialMenu(Editor.java:969)
at processing.app.Editor.buildToolsMenu(Editor.java:697)
at processing.app.Editor.buildMenuBar(Editor.java:482)
at processing.app.Editor.<init>(Editor.java:204)
at processing.app.Base.handleOpen(Base.java:700)
at processing.app.Base.handleOpen(Base.java:665)
at processing.app.Base.handleNew(Base.java:561)
at processing.app.Base.<init>(Base.java:301)
at processing.app.Base.main(Base.java:190)
I tried running the 32-bit version on the same machine, and it works fine.
What gives?