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?

 采纳的回答

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 个评论

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 个)

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

版本

R2017b

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by