When running ./install
on Fedora, following error occurs:
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
Issue occurs due to library file name mismatch (https://in.mathworks.com/matlabcentral/answers/1699735-matlab-crashed-on-start-on-fedora-36#answer_995890). Please follow below steps
- cd [Matlab root folder]/bin/glnxa64
- sudo mv libfreetype.so.6.16.0{,.bak}
- sudo ln -sf /lib64/libfreetype.so.6 libfreetype.so.6