Error seen opening Spectrum Control Panel: libXtst.so.6: cannot open shared object file
search cancel

Error seen opening Spectrum Control Panel: libXtst.so.6: cannot open shared object file

book

Article ID: 49703

calendar_today

Updated On:

Products

Spectrum Network Observability

Issue/Introduction

After a successful installation of Spectrum on Redhat Linux, the following error is seen when opening the Spectrum Control Panel:

     -bash-3.2$ ~/bin/SCP &             
     [1] 10176             
     -bash-3.2$ The DISPLAY environment variable must be set.             
     export DISPLAY=<ip address>          
     [1]+ Exit 1 ~/bin/SCP             
     -bash-3.2$ ~/bin/SCP &              
     [1] 10307              
     -bash-3.2$ Exception in thread "main" java.lang.UnsatisfiedLinkError:              
     /xtra/ca/spectrum/Java/jre/lib/i386/xawt/libmawt.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:1758)              
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1654)              
         at java.lang.Runtime.load0(Runtime.java:770)             
         at java.lang.System.load(System.java:1003)             
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)             
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1758)             
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1675)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1028)
         at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
         at java.security.AccessController.doPrivileged(Native Method)              
         at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)             
         at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)              
         at java.awt.Component.<clinit>(Component.java:560)              
     Could not find the main class:             
     com.aprisma.spectrum.app.controlpanel.ControlPanel. Program will exit.
 

Environment

Release: Any version of Spectrum installed on Linux
Component: SPCCSS

Cause

As the error states, the libXtst.so.6 is not found.

Resolution

Install the 32 and 64 bit libXtst RPM

Additional Information

Please reference the "System Requirements for Linux" section of the documentation for more information.