Skip to content

Instantly share code, notes, and snippets.

@pgrepds
Last active October 9, 2024 11:12
Show Gist options
  • Save pgrepds/7c9a7e29a8b649369951e2002a85a3d0 to your computer and use it in GitHub Desktop.
Save pgrepds/7c9a7e29a8b649369951e2002a85a3d0 to your computer and use it in GitHub Desktop.
Matlab R2022a ArchLinux installer problem fix
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/
```
@beka2025
Copy link

Helow, mine doesnt work. It gives this
root@DESKTOP-39TIRD9:/mnt/R2024a/bin/glnxa64# mv libfreetype.so.6 exclude/
mv: cannot stat 'libfreetype.so.6': No such file or directory
root@DESKTOP-39TIRD9:/mnt/R2024a/bin/glnxa64#
Any help? Thanks

@alimostafavi24
Copy link

I have the same issue. Neither libfreetype.so nor libtiff exist in the /bin/glnxa64. How can I figure it out which file to remove?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment