Go Down

Topic: Can't get 0022 to run on Ubuntu 11.04 (Read 1 time) previous topic - next topic

sspence65

I have run the following:

sudo apt-get remove brltty brltty-x11
sudo apt-get install openjdk-6-jre
sudo apt-get install avr-libc avrdude binutils-avr gcc-avr

I downloaded the 32 bit version of 0022, e4xtracted it, set it to executable, and when I run it in terminal, I get the sketch folder set dialog, then the following:

java.lang.UnsatisfiedLinkError: /home/owner/Desktop/arduino-0022/lib/librxtxSerial.so: /home/owner/Desktop/arduino-0022/lib/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/owner/Desktop/arduino-0022/lib/librxtxSerial.so: /home/owner/Desktop/arduino-0022/lib/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1675)
   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:957)
   at processing.app.Editor.buildToolsMenu(Editor.java:694)
   at processing.app.Editor.buildMenuBar(Editor.java:479)
   at processing.app.Editor.<init>(Editor.java:201)
   at processing.app.Base.handleOpen(Base.java:699)
   at processing.app.Base.handleOpen(Base.java:664)
   at processing.app.Base.handleNew(Base.java:561)
   at processing.app.Base.<init>(Base.java:301)
   at processing.app.Base.main(Base.java:190)





Steve Spence - KK4HFJ

mellis

Are you sure you have the 32-bit version of Ubuntu?  Did you try the 64-bit version of Arduino?

sspence65

32 bit Ubuntu, 32 bit Arduino. Now installing the 64 bit version of both.
Steve Spence - KK4HFJ

sspence65

both verified 64 bit. all is now working. must have gotten a mixed set.
Steve Spence - KK4HFJ

Go Up