Troubleshooting
Problem
Though prerequisite check completes successfully running db2setup fails with the below exception. Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/db2.tmp.1627/db2/linuxamd64/java/jre/lib/amd64/xawt/libmawt.so (libXtst.so.6: cannot open shared object file: No such file or directory)
Symptom
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/db2.tmp.1627/db2/linuxamd64/java/jre/lib/amd64/xawt/libmawt.so (libXtst.so.6: cannot open shared object file: No such file or directory)
Cause
Missing libXtst.so.6
Diagnosing The Problem
Check for the 32 and 64 bit installations of the libXtst package.
rpm -q --queryformat '%{NAME}:\n[%{FILENAMES}\n]' libXtst
Resolving The Problem
Install the missing 32 or 64 bit libXtst package for the target 32 or 64 bit package of DB2.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21964125