Skip to content

Instantly share code, notes, and snippets.

@mvanzulli
Created September 27, 2022 22:14
Show Gist options
  • Save mvanzulli/d0c33ca9944dca673b8e7a8d20c0f25e to your computer and use it in GitHub Desktop.
Save mvanzulli/d0c33ca9944dca673b8e7a8d20c0f25e to your computer and use it in GitHub Desktop.
I got problems installing Matlab R2022a on Arch. Running the installer throws the following error:
```
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
fish: Job 1, 'sudo ./install' terminated by signal SIGABRT (Abort)
```
I fixed it by running the following commands.
```bash
cd <matlab installer root directory>
cd /bin/glnxa64
ls | grep libfreetype
mkdir exclude
mv libfreetype.so.6 exclude/
mv libfreetype.so.6.16.0 exclude/
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment