Can't reload '/usr/loca​l/MATLAB/R​2017b/bin/​glnxa64/li​bmwdastudi​o.so'

I get this error message when I try to open simulink on Scientific Linux and Fedora.

2 Comments

$ 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
This solution worked for me. Thank you!!!
I'm on a Ubuntu XFCE virtual machine and MATLAB R2017b.

Sign in to comment.

Answers (4)

Same issue, none missing from "ldd". R2018a on Arch Linux. So maybe solved in R2018b?

5 Comments

Exactly the same problem. Arch Linux, Matlab R2018a
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.
The solution provided in BBS#202575 solved my problem, thank you very much! (Matlab R2018a on Manjaro).
I did not have any warning messages.
Thanx, The solution provided in BBS#202575 solved my problem too....!!
solution link: https://bbs.archlinux.org/viewtopic.php?id=231299

Sign in to comment.

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
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

I tried this method, and I got the error the ldd is undefined. This is so strange...
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
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.

Sign in to comment.

In my case this happened because I called
${MATLAB_ROOT}/bin/glnxa64/MATLAB
instead of
${MATLAB_ROOT}/bin/matlab

Categories

Products

Asked:

on 12 Oct 2017

Edited:

on 16 Apr 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!