Pages: [1]   Go Down
Author Topic: Arduino IDE 002132bit  Ubuntu 10.10  (Read 1444 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you come across this error while running arduino 0021 32bit on ubuntu 10.10:

Code:
java.lang.UnsatisfiedLinkError: /home/USER/Downloads/arduino-0021/lib/librxtxSerial.so: /home/USER/Downloads/arduino-0021/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/USER/Downloads/arduino-0021/lib/librxtxSerial.so: /home/USER/Downloads/arduino-0021/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:1803)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123)
    at processing.app.Editor.populateSerialMenu(Unknown Source)
    at processing.app.Editor.buildToolsMenu(Unknown Source)
    at processing.app.Editor.buildMenuBar(Unknown Source)
    at processing.app.Editor.<init>(Unknown Source)
    at processing.app.Base.handleOpen(Unknown Source)
    at processing.app.Base.handleOpen(Unknown Source)
    at processing.app.Base.handleNew(Unknown Source)
    at processing.app.Base.<init>(Unknown Source)
    at processing.app.Base.main(Unknown Source)

It seems the 32bit package include the 64bit driver librxtxSerial.so
I did a "locate librxtxSerial.so" and found one in /usr/lib/jni/.
If you do not have that file do:
Code:
sudo apt-get install librxtx-java
After this link the lib where ever its installed to your arduino lib folder
Code:
sudo ln -sf /usr/lib/jni/librxtxSerial.so /home/USER/arduino/lib/librxtxSerial.so
.
(You have to rename the existing one in the destination folder before)

I was then able to launch and run arduino ide successfully and upload data to the board.
Logged

El Salvador
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Me quiero morir, pero primero quiero ser LIBRE. Es
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the info:)
Logged

netherlands
Offline Offline
Newbie
*
Karma: 0
Posts: 16
Arduino and Linux rock
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It seems to be a problem with the new USB chip. RX (Receive), TX (Transmit) are Serial pins. Earlier the Arduino team also had problems with the RXTX. That was in v.20 when there was no version for Linux avaible. In v.21 the problems had to be fixed. May be the fix didn't have impact on your installation smiley-sad.

(I use Lubuntu 10.10, the LXDE version of Ubuntu, http://lubuntu.net/)

I hope you now understand the things a bit more,

Superpelican
« Last Edit: October 30, 2010, 03:52:51 am by superpelican » Logged

superpelican-online.tk

Pages: [1]   Go Up
Jump to: