Simulink (R2022b) won't start on Fedora 36

7 ビュー (過去 30 日間)
Marcel Rutten
Marcel Rutten 2022 年 11 月 30 日
コメント済み: Marcel Rutten 2022 年 12 月 7 日
Yesterday I upgraded to Matlab/Simulink R2022b on my Fedora36 machine. Simulink does not start, instead it gives the following error:
% Caught "std::exception" Exception message is:
% Failed to load bundle #569: /usr/local/MATLAB/R2022b/bin/glnxa64/libmwdastudio.so
(commented for better formatting)
As far as I can see there's no error log. Tried to run matlab/simulink through a debugger, but my debugging skills are far from good enough to be useful. I checked for missing shared libraries as stated in other, similar questions, but that seems not to be the issue. Any idea what this might be?
  2 件のコメント
Mark Thomas
Mark Thomas 2022 年 12 月 5 日
編集済み: Mark Thomas 2022 年 12 月 5 日
Same problem on Fedora 37, with R2022b Update 2, when opening a project file.
The following gave no output (i.e. no missing libraries).
cd /usr/local/MATLAB/R2022b/bin/glnxa64
ldd libmwdastudio.so | grep "not found"
Fixed it using the same fix that got the R2022b installer working: exclude the MathWorks verson of libfreetype.so.6 with:
cd /usr/local/MATLAB/R2022b/bin/glnxa64
ll -og libfreetype.so.*
total 736
lrwxrwxrwx. 1 21 Jun 6 18:25 libfreetype.so.6 -> libfreetype.so.6.16.0
-r-xr-xr-x. 1 749312 Jun 6 18:25 libfreetype.so.6.16.0
mkdir exclude
mv libfreetype.so.* exclude
Closed and re-started MATLAB. Opening the project file now works withut warning or error.
simulink also starts without error.
Marcel Rutten
Marcel Rutten 2022 年 12 月 7 日
Thanks Mark,
This did the trick.
Could have thought of this solution myself, since this library has been bothering Matlab installation on our linux machines for the last few years. I fail to see why the Mathworks are still shipping this library with their software.

サインインしてコメントする。

回答 (1 件)

Suchitra
Suchitra 2022 年 12 月 7 日
Hello Marcel,
I understand that you are facing an issue while trying to open Simulink on Fedora36 machine.
For Bundle error messages from MATLAB or Simulink, a fresh installation is generally suggested to resolve the issue.
The below provided article goes into a bit more detail about the bundle errors and the situation with the workarounds. At the bottom of the article some steps are mentioned that may help narrowing down the root cause of the errors.
Also, an article that walks through the uninstallation process for Linux machines is attached below.
How do I resolve 'Bundle' error messages?
How do I uninstall MATLAB or other MathWorks products on a Linux machine?
As Fedora is not a supported platform for MATLAB, you can also refer to the below resource for a list of system requirements when using MATLAB:
Hope this helps!
  1 件のコメント
Marcel Rutten
Marcel Rutten 2022 年 12 月 7 日
It was a clean install, and the solution to my problem was given by Mark Thomas in the previous post. Thanks nevertheless for your efforts.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by