Ubuntu 20.04 Matlab 报错:/usr/lib64/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var
解决办法:cd /usr/local/MATLAB/R2017b/bin/glnxa64
sudo mv libfreetype.so.6.11.1{,.bak}
问题原因:MATLAB comes with copies of some shared libraries but not all of them, so when there is a change in one of the system libs it may break. You need to tell MATLAB to use the system freetype. This will move libfreetype.so.6.11.1
to libfreetype.so.6.11.1.bak
in case you need it.
参考链接:https://www.reddit.com/r/openSUSE/comments/apz21l/problem_loading_matlab_symbol_lookup_error/