Can't reload '/usr/local/MATLAB/R2017b/bin/glnxa64/libmwdastudio.so'
Show older comments
I get this error message when I try to open simulink on Scientific Linux and Fedora.
2 Comments
Thirunagaru Deekshith
on 18 Jan 2021
Edited: Walter Roberson
on 18 Jan 2021
$ cd /usr/local/MATLAB/R2017b # Matlab directory
$ cd bin/glnxa64
$ mkdir exclude
$ mv libfreetype* exclude
$ cd ../../sys/os/glnxa64
$ mkdir exclude
$ mv libstdc++.so.6* exclude
$ cd
These commands worked for me
Alfio Messina
on 16 Apr 2024
Edited: Alfio Messina
on 16 Apr 2024
This solution worked for me. Thank you!!!
I'm on a Ubuntu XFCE virtual machine and MATLAB R2017b.
Answers (4)
Edward Pacman
on 31 Mar 2018
6 votes
Same issue, none missing from "ldd". R2018a on Arch Linux. So maybe solved in R2018b?
5 Comments
Evgenii Semenov
on 1 Apr 2018
Exactly the same problem. Arch Linux, Matlab R2018a
Edward Pacman
on 4 Apr 2018
Edited: Edward Pacman
on 4 Apr 2018
Solved by moving the libfreetype.so.6 font display file in $MATLAB/bin/glnxa64/ to an 'exclude' directory. See BBS#202575.
Then you get :
Warning: The MATLABWindow application failed to launch because of missing libraries. Install the packages which contain the
following libraries:
libselinux.so.1
Simply install libselinux from AUR,by using:
yaourt -S libselinux
Then you get:
Warning: MATLABWindow application failed to launch. Unable to launch the MATLABWindow application
> In sltemplate.ui.StartPage/showWithFallback
In sltemplate.ui.StartPage.show
Just set aside the copy of libglib-2.0.so by matlab in ${MATLABROOT}/cefclient/sys/os/glnxa64
Now I can start simulink without any error nor warnings.
Antoine Madrona
on 13 Nov 2018
The solution provided in BBS#202575 solved my problem, thank you very much! (Matlab R2018a on Manjaro).
I did not have any warning messages.
Abhinaba Saha
on 8 Apr 2019
Thanx, The solution provided in BBS#202575 solved my problem too....!!
solution link: https://bbs.archlinux.org/viewtopic.php?id=231299
Luis Rodolfo Uvalle Lumbreras
on 15 Sep 2020
how do you create an exclude forlder?
R Seyon
on 27 Jan 2021
1 vote
I had same problem . I have successfully solved this error by ( Matlab 2018a on linux mint 20.1 ) following below tutorial
Summary of this tutorial
-------------------------------
Can't reload'/xx/xx/xx/libmwdastudio.so
The reason for the problem: Matlab cannot load the font to display $ MATLAB / bin / glnxa64 / libfreetype.so.6;
Solution: Solve by cre
Rajesh Balagam
on 17 Oct 2017
It may be possible that some dependent libraries for 'libmwdastudio.so' are missing in the system. Check if all the dependencies are present for this library by performing the following steps:
1. Using a terminal, navigate to the directory where the library is found:
>> cd /usr/local/MATLAB/R2017b/bin/glnxa64
2. Then run the 'ldd' command as shown:
>> ldd libmwdastudio.so
3. Observe for any missing libraries in the output. For example:
libXt.so.6 => not found
libXext.so.6 => not found
4. Install the missing libraries
3 Comments
jackxujh
on 4 Dec 2017
I tried this method, and I got the error the ldd is undefined. This is so strange...
xiaotong Sun
on 13 Dec 2017
hi, Rajesh Balagam
I meet this issue,too. I did as your steps but I didn't have any missing libraries. And after that I still have the problem when I invoke Simulink in Matlab2017b. It also showed "Can't load glnxa64/libmwjmi.so": GLNXA64/libQt5WebEngineCore.so.5: undefined symbol: XFreeEventData
Thanks, Xiaotong
Eric Smith
on 18 Jan 2018
I have the same problem on Fedora 27. Running "ldd libmwdastudio.so" shows that all libraries are found, none missing. I am running matlab using the symlink the installer created. I installed matlab in /opt/matlab-r2017b, and the simlink is to /opt/matlab-r2017b/bin/matlab.
foboo
on 29 Nov 2017
In my case this happened because I called
${MATLAB_ROOT}/bin/glnxa64/MATLAB
instead of
${MATLAB_ROOT}/bin/matlab
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!