jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Arduino does not launch on 64 bit ubuntu 9.10 #182

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install required dependancies
2. Attempt to launch IDE
3.

What is the expected output? What do you see instead?
No response

Error if launched from terminal:

This version still retains the problems associated with 64 bit ubuntu
karmic requiring a newer librtx as incorrect versions or librxtxSerial.so
and RXTXcomm.jar are included in the /lib folder, this is irrespective of
the installed version (from the ubuntu repos). This means as provided the
script appears to do nothing unless launched from a terminal in which case
it throws the usual error:

java.lang.UnsatisfiedLinkError:
/home/oliversmith/arduino-0018/lib/librxtxSerial.so:
/home/oliversmith/arduino-0018/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/oliversmith/arduino-0018/lib/librxtxSerial.so:
/home/oliversmith/arduino-0018/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:1778)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
    at processing.app.Editor.populateSerialMenu(Editor.java:965)
    at processing.app.Editor.buildToolsMenu(Editor.java:717)
    at processing.app.Editor.buildMenuBar(Editor.java:502)
    at processing.app.Editor.<init>(Editor.java:194)
    at processing.app.Base.handleOpen(Base.java:709)
    at processing.app.Base.handleOpen(Base.java:674)
    at processing.app.Base.handleNew(Base.java:571)
    at processing.app.Base.<init>(Base.java:311)
    at processing.app.Base.main(Base.java:200)

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?

Arduino 0018-rc1
Ubuntu Karmic 9.10 64 bit fully updated

Please provide any additional information below.

Problem can be fixed by replacing librxtxSerial.so and RXTXcomm.jar with
more recent versions.

Original issue reported on code.google.com by chemical...@gmail.com on 11 Jan 2010 at 1:17

GoogleCodeExporter commented 8 years ago
Is there a version of librxtxSerial.so that will work on both 32 and 64 bit 
Linux with the same version of 
RXTXcomm.jar that's currently in Arduino 0018?

Original comment by dmel...@gmail.com on 11 Jan 2010 at 2:56

GoogleCodeExporter commented 8 years ago
No, a different library is required for 64 bit.

A working copy of rxtx can be found on the rxtx website:

http://rxtx.qbang.org/wiki/index.php/Download

version 2.2pre2 is required for 64bit to work and the librxtxSerial.so is found 
in
/x86_64-unknown-linux-gnu/

As far as I know the current 32 bit library works without an update.

Original comment by chemical...@gmail.com on 11 Jan 2010 at 10:00

GoogleCodeExporter commented 8 years ago
https://github.com/arduino/Arduino/issues/182

Original comment by c.mag...@arduino.cc on 27 May 2015 at 10:56