- canberra-gtk-module
- gail
- atk-bridge
MATLAB R2022a Ubuntu/linux errors: failed to load module
32 ビュー (過去 30 日間)
古いコメントを表示
Thanks in advance for suggestions.
I recently ran a nested for loop in which MATLAB crashed and so I force ended MATLAB so I can restart.
Upon restarting MATLAB through a terminal, the following errors appear:
failed to load module "canberra-gtk-module"
failed to load module "gail"
failed to load module "atk-bridge"
MATLAB can run without these it seems however it seems far slower to do so. I would like to find a solution such that these errors are corrected.
0 件のコメント
回答 (1 件)
Abhijeet
2023 年 9 月 4 日
Hi TGB,
I can understand that you are facing import issue for the following modules:
To resolve this issue, I suggest you to run the following command in the terminal:
# For installing latest software updates
sudo apt-get update
sudo apt-get upgrade
# For installing modules
sudo apt install libgail-3-0 libatk-bridge2.0-0 libcanberra-gtk-module
I hope this information was helpful.
2 件のコメント
Abhijeet
2023 年 9 月 5 日
Hi TGB
Possible reason on why error still persists can be because MATLAB may be unable to find the modules.
It might be that the library loader looked in several locations for "libcanberra-gtk-module.so" and "libpk-gtk-module.so" but not in the correct location of /usr/lib64/gtk-2.0/modules/.
Please try the following command to read the module in the correct location.
$ env LD_LIBRARY_PATH=/usr/lib64/gtk-2.0/modules matlab
参考
カテゴリ
Help Center および File Exchange で Downloads についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!