SAP PO – ConfigTool, problem with libXtst.so.6

When You try to run ConfigTool in SAP Java environment You’ll see FATAL: java.lang.UnsatisfiedLinkError: /usr/sap/SID/J00/exe/sapjvm_8/jre/lib/amd64/libawt_xawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

server:> ./configtool.sh
Picked up JAVA_TOOL_OPTIONS: -Dsun.java2d.pmoffscreen=false
INFO: Loading tool launcher...
INFO: [OS: Linux] [VM vendor: SAP AG] [VM version: 1.8.0_401] [VM type: SAP Java Server VM]
INFO: Main class to start: "com.sap.engine.configtool.visual.ConfigTool"
INFO: Loading 21 JAR files: [./lib/jdbc.jar, ./lib/jvmx.jar, ./lib/sap.com~tc~bl~config~impl.jar, ./lib/sap.com~tc~bl~deploy~controller~offline_phase_asm.jar, ./lib/sap.com~tc~bl~gui~impl.jar, ./lib/sap.com~tc~bl~iqlib~impl.jar, ./lib/sap.com~tc~bl~jarsap~impl.jar, ./lib/sap.com~tc~bl~offline_launcher~impl.jar, ./lib/sap.com~tc~bl~opensql~implStandalone.jar, ./lib/sap.com~tc~bl~sl~utility~impl.jar, ./lib/sap.com~tc~exception~impl.jar, ./lib/sap.com~tc~je~cachegui.jar, ./lib/sap.com~tc~je~configtool.jar, ./lib/sap.com~tc~je~configuration~impl.jar, ./lib/sap.com~tc~je~offlineconfiguration~impl.jar, ./lib/sap.com~tc~je~offlinelicense_tool.jar, ./lib/sap.com~tc~je~opm.jar, ./lib/sap.com~tc~logging~java~impl.jar, ./lib/sap.com~tc~sapxmltoolkit~sapxmltoolkit.jar, ./lib/sap.com~tc~sec~likey.jar, ./lib/sap.com~tc~sec~secstorefs~java~core.jar]
INFO: Start
FATAL: Main class "com.sap.engine.configtool.visual.ConfigTool" cannot be started:
FATAL: java.lang.UnsatisfiedLinkError: /usr/sap/SID/J00/exe/sapjvm_8/jre/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:2040)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1921)
at java.lang.Runtime.load0(Runtime.java:782)
at java.lang.System.load(System.java:1110)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2040)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1942)
at java.lang.Runtime.loadLibrary0(Runtime.java:843)
at java.lang.System.loadLibrary(System.java:1146)
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:1670)
at java.awt.Component.<clinit>(Component.java:593)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:162)

FATAL: com.sap.engine.offline.OfflineToolStart will abort now with exitcode 2
server:>

Solution

To resolve this issue You should zypper install libXtst6 package.

server> zypper install libXtst6
1 new package to install.

Overall download size: 17.2 KiB. Already cached: 0 B. After the operation, additional 22.4 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: libXtst6-1.2.3-1.24.x86_64 (SLE-Module-Basesystem15-SP5-Pool for x86_64) (1/1), 17.2 KiB
Retrieving: libXtst6-1.2.3-1.24.x86_64.rpm ...............................................................................................................................................................[done]
Checking for file conflicts: .............................................................................................................................................................................[done]
(1/1) Installing: libXtst6-1.2.3-1.24.x86_64 .............................................................................................................................................................[done]

Copyright © 2024. SAPBasisWorld.com Privacy Policy