针对Linux安装Matlab无法启动错误的解决方案

来源:互联网 发布:嗨推淘宝客论坛 编辑:程序博客网 时间:2024/05/21 15:58

昨天重装Matlab2015再次出现启动错误

输出信息为  

MATLAB is selecting SOFTWARE OPENGL rendering.
Segmentation fault (core dumped)

具体解决方案为安装ncurses库,可直接从软件仓库直接下载,也可以官网下载最新的编译,具体可看末尾链接

装好之后执行   

ln -s /usr/lib64/libncurses.so.6.0  Root_Matlab/bin/glnxa64/libncurses.so.5

ln -s /usr/lib64/libncursesw.so.6.0 Root_Matlab/bin/glnxa64/libncursesw.so.5

Root_Matlab为matlab安装路径

因为是64为系统,所以需要去/usr/lib64去链接,直接去/lib或者/usr/lib链接都失败了

另外,Matlab需要在终端启动,所以配置桌面快捷方式需要设置好终端启动

0 0
原创粉丝点击