MATLAB: Do I see “error while loading shared libraries: libXss.so.1” when starting MATLAB on a Linux machine

MATLAB

Why do I see "error while loading shared libraries: libXss.so.1" when starting MATLAB in terminal on my CentOS Linux machine?

Best Answer

This issue will occur if you are missing the libXss.so.1 library, which is part of the libXScrnSaver package. To resolve this issue, run the command:
sudo yum install libXScrnSaver