Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639528 - dev-embedded/arduino-1.0.5-r2: java.lang.UnsatisfiedLinkError at startup
Summary: dev-embedded/arduino-1.0.5-r2: java.lang.UnsatisfiedLinkError at startup
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-02 17:27 UTC by Enne Eziarc
Modified: 2018-07-17 23:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2017-12-02 17:27:16 UTC
When I run the "arduino" command it pops up a file picker to choose a working directory; after that's closed it prints this to the terminal, doing nothing until I ^C it:

---
java.lang.UnsatisfiedLinkError: /usr/lib64/rxtx-2/librxtxSerial-2.2pre1.so: /usr/lib64/rxtx-2/librxtxSerial-2.2pre1.so: undefined symbol: minor thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib64/rxtx-2/librxtxSerial-2.2pre1.so: /usr/lib64/rxtx-2/librxtxSerial-2.2pre1.so: undefined symbol: minor
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123)
        at processing.app.Editor.populateSerialMenu(Editor.java:962)
        at processing.app.Editor.buildToolsMenu(Editor.java:691)
        at processing.app.Editor.buildMenuBar(Editor.java:476)
        at processing.app.Editor.<init>(Editor.java:205)
        at processing.app.Base.handleOpen(Base.java:705)
        at processing.app.Base.handleOpen(Base.java:670)
        at processing.app.Base.handleNew(Base.java:566)
        at processing.app.Base.<init>(Base.java:306)
        at processing.app.Base.main(Base.java:195)
---

This is a completely new install and I've followed the instructions the ebuild printed regarding the uucp group and setting up crossdev for avr.

 ~ $ emerge -qpv icedtea rxtx arduino
[ebuild   R   ] dev-java/icedtea-3.6.0  USE="jbootstrap libressl pch -alsa (-cacao) -cups -doc -examples -gtk -headless-awt (-jamvm) -kerberos -nsplugin -pax_kernel -pulseaudio -sctp (-selinux) -shenandoah -smartcard -source -sunec {-test} -webstart -zero"
[ebuild   R   ] dev-java/rxtx-2.2_pre2-r1  USE="-doc -lfd -source"
[ebuild   R   ] dev-embedded/arduino-1.0.5-r2  USE="-doc -examples"
Comment 1 Enne Eziarc 2018-07-17 23:43:27 UTC
Looks like this doesn't need fixing, arduino-1.8.5-r2 got added to the tree in the meantime and works fine.