xDroid's Blog

假装高冷的Geek

修复 matlab 的 freetype 库

安装 matlab 2022b(其实之前的版本也有问题)时有如下报错:

terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to launch web window with error: Unable to launch the MATLABWindow application. The exit code was: 127
[1] 20338 IOT instruction (core dumped) ./install

经过 google 发现是内嵌的 freetype 库有问题,把 libfreetype.so.6 链接挪走就行。


同理适用于安装后 matlab 抽风

Warning: The desktop configuration file is corrupt or improperly formatted.
null
Warning: An error occurred while reading the desktop configuration file.