IBM Support

UnsatisfiedLinkError: cannot open shared object file libXtst.so.6

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)

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Install\/Migrate\/Upgrade - Install\/Setup - GUI","Platform":[{"code":"PF016","label":"Linux"}],"Version":"10.1;10.5;9.7","Edition":"Advanced Enterprise Server;Advanced Workgroup Server;Enterprise Server;Personal;Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
Db2 for Linux, UNIX and Windows

Software version:
10.1, 10.5, 9.7

Operating system(s):
Linux

Document number:
534833

Modified date:
01 May 2025

UID

swg21964125

Manage My Notification Subscriptions