Why do I see "error while loading shared libraries: libXss.so.1" when starting MATLAB on a Linux machine?
21 次查看(过去 30 天)
显示 更早的评论
Why do I see "error while loading shared libraries: libXss.so.1" when starting MATLAB in terminal on my CentOS Linux machine?
采纳的回答
MathWorks Support Team
2018-3-2
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 个评论
Scott Minkin
2019-6-17
编辑:Scott Minkin
2019-6-17
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!