arduino ide on debian

Discussion in 'Debian' started by collinrm, Nov 12, 2013.

  1. collinrm

    collinrm New Member

    Joined:
    Nov 12, 2013
    Messages:
    2
    Likes Received:
    0
    Hi,
    After installing debian and then java6 jdk and jre, I installed the Arduino IDE, only to get the following errors, please assist:

    root@udoo:~# ./arduino-1.5.4/arduino
    java.lang.UnsatisfiedLinkError: /root/arduino-1.5.4/lib/librxtxSerial-2.2pre1.so: /root/arduino-1.5.4/lib/librxtxSerial-2.2pre1.so: cannot open shared object file: No such file or directory thrown while loading gnu.io.RXTXCommDriver
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /root/arduino-1.5.4/lib/librxtxSerial-2.2pre1.so: /root/arduino-1.5.4/lib/librxtxSerial-2.2pre1.so: cannot open shared object file: No such file or directory
    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:123)
    at cc.arduino.packages.discoverers.SerialDiscovery.discovery(SerialDiscovery.java:53)
    at cc.arduino.packages.DiscoveryManager.discovery(DiscoveryManager.java:77)
    at processing.app.Editor.populatePortMenu(Editor.java:993)
    at processing.app.Editor.buildToolsMenu(Editor.java:720)
    at processing.app.Editor.buildMenuBar(Editor.java:489)
    at processing.app.Editor.<init>(Editor.java:217)
    at processing.app.Base.handleOpen(Base.java:840)
    at processing.app.Base.handleOpen(Base.java:805)
    at processing.app.Base.handleNew(Base.java:701)
    at processing.app.Base.<init>(Base.java:415)
    at processing.app.Base.main(Base.java:224)
     
  2. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
  3. collinrm

    collinrm New Member

    Joined:
    Nov 12, 2013
    Messages:
    2
    Likes Received:
    0
    thanks for the reply delba, i have been running on wheezy already.
    However, great news - after 3 nights of work, I managed to find the issue.

    I simply deleted the /root/arduino-1.5.4/lib/librxtxSerial-2.2pre1.so and replaced it with the systems usr/lib/jni/librxtxSerial-2.2pre1.so then I ran ./arduino and presto - it worked !!

    So thrilled that I've got wheezy on my udoo along with the 1.5.4 Arduino IDE.

    Now onto my next phase - see how both the sam and mx6 can manipulate the same gpio pin ;-)
     
  4. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
    That's a GREAT news! Glad you managed the problem. :)
     
  5. maara

    maara Member

    Joined:
    Jun 11, 2013
    Messages:
    44
    Likes Received:
    4
    Could you please help me with the lib? - the path /usr/lib/jni/librxtxSerial-2.2pre1.so doesn't exists so I have no jni directory.... Is there any dependancy?
    thx
     
  6. maara

    maara Member

    Joined:
    Jun 11, 2013
    Messages:
    44
    Likes Received:
    4
    It needs librxtx-java to be installed manually....
    Code:
    sudo apt-get install librxtx-java

    The shame is that this IDE is not able to work with other arduino's as it offers only DUE boards :(
     

Share This Page