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

413 views (last 30 days)
Carlos Imbaquingo
Carlos Imbaquingo on 12 Oct 2017
Answered: R Seyon on 27 Jan 2021
I get this error message when I try to open simulink on Scientific Linux and Fedora.
  1 Comment
Thirunagaru Deekshith
Thirunagaru Deekshith 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

Sign in to comment.

Answers (4)

Edward Pacman
Edward Pacman on 31 Mar 2018
Same issue, none missing from "ldd". R2018a on Arch Linux. So maybe solved in R2018b?
  5 Comments

Sign in to comment.


Rajesh Balagam
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
Eric Smith
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.

Sign in to comment.


foboo
foboo on 29 Nov 2017
In my case this happened because I called
${MATLAB_ROOT}/bin/glnxa64/MATLAB
instead of
${MATLAB_ROOT}/bin/matlab

R Seyon
R Seyon on 27 Jan 2021
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

Community Treasure Hunt

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

Start Hunting!

Translated by