Last active
June 28, 2024 16:25
-
-
Save pgrepds/7c9a7e29a8b649369951e2002a85a3d0 to your computer and use it in GitHub Desktop.
Matlab R2022a ArchLinux installer problem fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ | |
``` |
I just spent a while to find the solution, luckily your solution works well! but I think matlab should include this in their code because I'm sure that at this moment, another person is struggling like me I did trying all the solutions at hand.
Thank you
You are genius! Thanks
Thanks. Matlab is driving me crazy. R2023b can only be launched through the terminal and it wouldn't launch by creating a desktop file. R2022b has this problem.
Thanks. Matlab is driving me crazy. R2023b can only be launched through the terminal and it wouldn't launch by creating a desktop file. R2022b has this problem.
did you try adding -desktop
argument to your .desktop
file?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mine still not works... After doing that I have the exact same error, any idea to solve it?