Can't Find/Install Libxtst.So.6

Can't find/install libXtst.so.6?

EDIT: As mentioned by Stephen Niedzielski in his comment, the issue seems to come from the 32-bit being of the JRE, which is de facto, looking for the 32-bit version of libXtst6. To install the required version of the library:

$ sudo apt-get install libxtst6:i386

Type:

$ sudo apt-get update
$ sudo apt-get install libxtst6

If this isn’t OK, type:

$ sudo updatedb
$ locate libXtst

it should return something like:

/usr/lib/x86_64-linux-gnu/libXtst.so.6       # Mine is OK
/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0

If you do not have libXtst.so.6 but do have libXtst.so.6.X.X create a symbolic link:

$ cd /usr/lib/x86_64-linux-gnu/
$ ln -s libXtst.so.6 libXtst.so.6.X.X

SAS Install Fails from not Finding libXext

The problem is that you're running a 32-bit JVM, and it can't link to the 64-bit system libraries; note the path lib/i386/xawt/libmawt.so. You need to either run with a 64-bit JVM (the best option in any case) or install the 32-bit X libraries.

java.lang.UnsatisfiedLinkError: /usr/local/openjdk-8/jre/lib/amd64/libawt_xawt.so: libXrender.so.1:

Are you trying to build the native lib (creating the .so file in the fly) or trying to make use of the pre-built version of it? In the first case, make sure your test-automation tool supports it; in the second case, make sure the presence of your lib file in the appropriate location.

Exception java.lang.UnsatisfiedLinkError when trying to open allure-reports in webdriver.io project

on ubuntu 20.04:

sudo apt install openjdk-11-jdk

As Joakim suggested in this comment here, the headless version was installed. I got the same error with ldd, the library missing.

It's not a good idea to change your question in general, it's better to search first and ask a new one if needed, with all specifics.

This may help you understand the possible cause of the second issue:

Desktop API is not supported on the current platform

I highly recommend to use a plain Ubuntu Linux installation if you want to use Linux, WSL is not the same and has specific issues that you will not encounter in Linux. If a dedicated install is not an option, try to look for generic issues. Expect differences in behavior with shells, docker and graphical related things, because those things are specifically implemented in certain ways for WSL.



Related Topics



Leave a reply



Submit