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

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

 Accepted 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
 

1 Comment

The above answer works on Redhat-based distros (Fedora, CentOS, etc.)
If you receive the libXss.so.1 error on a Debian based distro (Ubuntu, Mint, etc.), then the equivalent fix is:
sudo apt-get install libxss1

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2017b

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!