Failure to Start the Java-based GUI

Symptom

  • You are starting SID-Refresh™ on Linux with the Java-based GUI, and this error appears:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/java8_64/jre/lib/ppc64/libawt_xawt.so (Could not load module /usr/java8_64/jre/lib/ppc64/libawt_xawt.so.

Dependent module /usr/lib/libXrender.a(shr_64.o) could not be loaded.

Member shr_64.o is not found in archive Could not load module /usr/java8_64/jre/lib/ppc64/libawt_xawt.so.

Dependent module /usr/java8_64/jre/lib/ppc64/libawt_xawt.so could not be loaded.)

Environment

  • Linux/Unix Systems

Cause

  • The error is caused by the missing library libXtst.so.6

  • The library should be /usr/lib64/libXtst.so.6 (which is a link to /usr/lib64/libXtst.so.6.1.0 ):

server1:~ # ls -al /usr/lib64 | grep libXtst.so lrwxrwxrwx 1 root root 16 Apr 20 00:14 libXtst.so.6 -> libXtst.so.6.1.0 -rwxr-xr-x 1 root root 23016 Nov 10 2016 libXtst.so.6.1.0 server1:~ #

Resolution

If neither file is available, install the OS package that contains them:

  • On RHEL (6 and 7): yum install libXtst

  • On SLES11: zypper install xorg-x11-libs

  • On SLES12: zypper install libXtst6

Last updated