Why do I get the message 'error while loading shared libraries: libncurses.so.5' when trying to start MATLAB?
조회 수: 9 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2018년 1월 15일
편집: MathWorks Support Team
2023년 4월 28일
When trying to start MATLAB on a Linux machine, I get the following error message:
$MATLABROOT/bin/glnxa64/need_softwareopengl: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
How can I get MATLAB working?
채택된 답변
MathWorks Support Team
2023년 4월 28일
편집: MathWorks Support Team
2023년 4월 28일
The error message indicates that you may be missing the ncurses library on your machine. Please follow the distribution specific information on installing the ncurses library.
For example, if you are using Ubuntu, you could search for the library in Ubuntu's package search to find a package that contains the library and then install it with aptitude (apt install).
In this case, user installed the library and copied the files to their $MATLABROOT/bin/glnxa64/ directory. Afterwards, they were able to launch MATLAB with no issues.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!