Why do I see "error while loading shared libraries: libXss.so.1" when starting MATLAB on a Linux machine?
105 views (last 30 days)
Show older comments
MathWorks Support Team
on 2 Mar 2018
Edited: Scott Minkin
on 17 Jun 2019
Why do I see "error while loading shared libraries: libXss.so.1" when starting MATLAB in terminal on my CentOS Linux machine?
Accepted Answer
MathWorks Support Team
on 2 Mar 2018
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
Scott Minkin
on 17 Jun 2019
Edited: Scott Minkin
on 17 Jun 2019
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
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!