Why do I get the message 'error while loading shared libraries: libncurses.so.5' when trying to start MATLAB?
6 次查看(过去 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!