Why do I get an error loading shared libraries libXpm.so.4 when starting MATLAB on Linux?
조회 수: 5 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2012년 9월 7일
편집: MathWorks Support Team
2019년 3월 14일
When trying to start MATLAB I get the following error:
error while loading shared libraries: libXpm.so.4: cannot open shared object file: No such file or directory
How do I start MATLAB?
채택된 답변
MathWorks Support Team
2019년 3월 14일
This error indicates that you are missing at least one of the libraries that MATLAB relies on to start. MATLAB does require X Server libraries installed on the machine in order to run MATLAB. If you are installing the network license manager only, you can use silent installation (see the related solution below).
If you are on a Debian based Linux disto, you can install this missing library and several other dependencies by running the following:
sudo apt-get install xorg
For Red-Hat based Linux distros, you can use the yum package tool.
yum list | grep -i xorg-x11-libs
For more information about installing these packages, plese refer to your operating system documentation.
댓글 수: 0
추가 답변 (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!