You are not logged in.
Okay after installing arduino through the AUR I get ' libXtst.so.6: cannot open shared object file: No such file or directory'. Now the interesting thing is that this is in a docker image. I don't get this problem on my arch laptop, but inside the docker container no go. I can see the arduino bring up its splash screen, so I know the docker container is accessing X properly (I've done this in another docker projject as well. Here is the meat of how I install arduino:
RUN pacman -Syu --noconfirm --needed base-devel wget lib32-libxt libxt jre7-openjdk mesa-libgl
RUN wget https://aur.archlinux.org/cgit/aur.git/snapshot/arduino.tar.gz; tar zxvf arduino.tar.gz;useradd arduino; mv arduino /home/;chown arduino. /home/arduino
RUN mkdir /tmp/yaourt
RUN chown -R yaourt:yaourt /tmp/yaourt
RUN pacman --noconfirm -Syyu
USER arduino
WORKDIR /home/arduino
RUN makepkg --noconfirm -sri
and the full error:
Picked up JAVA_TOOL_OPTIONS:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/share/arduino/java/lib/amd64/libawt_xawt.so: libXtst.so.6: 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:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1842)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at java.awt.Toolkit$3.run(Toolkit.java:1636)
at java.awt.Toolkit$3.run(Toolkit.java:1634)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
at cc.arduino.view.SplashScreenHelper.<init>(SplashScreenHelper.java:54)
at processing.app.Base.<clinit>(Base.java:91)
prompt_jnrowe_precmd:20: command not found: zsh_path
you can see my full docker build here:
https://github.com/joshuacox/mkarduino/tree/arch-gui
`make run` in that branch should duplicate my error.
Offline
after rereading I realized I had installed libxt and not libxtst:
lib32-libxtst libxtst
now works fine, seems to be a dependency issue with the pkgbuild, taking up there
Offline
Great! Be sure to edit your first post and prepend [SOLVED] to the thread title.
Last edited by ewaller (2016-06-21 17:53:49)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline