ID 360380 - Launching Nuke in terminal mode fails if the 'libXtst.so.6' library is missing

Follow

Problem summary
Launching Nuke in terminal mode (with the -t flag) does not work if the 'libXtst.so.6' library is missing. This causes issues on machines that do not have X11 installed, for example on render farm nodes.

This issue was originally reported on Ubuntu but has also been tested on CentOS 7, where the issue still occurs.

Customer reported version
nuke.11.2v1

Customer reported platform
ubuntu

Steps to reproduce

1) Run the following command in the terminal:

apt-file search libXtst

It may be necessary to install 'apt-file' if is not already.

Alternatively on CentOS 7, you can run the following command instead:

locate libXtst

Running either of these commands should give an output similar to the following:


2) Move the 'libXtst.so.6' library to a backup folder, using the mv command.

3) Now try to launch Nuke, using the -t flag to launch in terminal mode:

/usr/local/Nuke11.2v2/Nuke11.2 -t

4) Notice that Nuke fails to launch and gives the following error:

Failed to load libstudio-11.2.1.so: libXtst.so.6: cannot open shared object file: No such file or directory

Reproduced by support

This bug has been reproduced in:

Nuke 11.2v2 - Ubuntu 17.10 - CentOS 7

Nuke 11.1v5 - Ubuntu 17.10 - CentOS 7

Nuke 11.1v2 - Ubuntu 17.10 - Regression

Nuke 11.1v1 - CentOS 7 

Nuke 11.0v4 - CentOS 7

Nuke 11.0v1 - CentOS 7 - Regression

Unable to reproduce bug in:
Nuke 11.1v1 - Ubuntu 17.10

Nuke 10.5v7 - CentOS 7

Earliest version tested
Nuke 10.5v7
- This issue no longer appears in this version and has regressed

Expected behaviour
Nuke should launch in terminal mode without the 'libXtst.so.6' library.

Actual behaviour

Nuke fails to launch and gives the following error:

Failed to load libstudio-11.2.1.so: libXtst.so.6: cannot open shared object file: No such file or directory

    We're sorry to hear that

    Please tell us why