필터 지우기
필터 지우기

Matlab error in Terminal (Ubuntu 18.04). What do I do?

조회 수: 2 (최근 30일)
Mahmud Khan
Mahmud Khan 2021년 1월 28일
답변: Shubham Khatri 2021년 2월 3일
Hello,
When I run Matlab from the terminal in Ubuntu, I get this message in the terminal:
Gtk-Message: 12:12:29.347: Failed to load module "canberra-gtk-module"
/usr/local/MATLAB/R2017b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libproxy.so.1)
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so
What is this? How do I fix it?

답변 (1개)

Shubham Khatri
Shubham Khatri 2021년 2월 3일
Hello,
This error occurs when the version of Java JRE that ships with MATLAB loads a library outside of MATLAB which in turn is incompatible with the version of libstdc++.so.6 that ships with MATLAB.
To resolve the issue, please navigate to MATLAB R2017b installation location in your system and remove the “libstdc++.so.6” library file shipped with MATLAB R2017b, so that MATLAB will use the system version of that library:
<matlabroot>/sys/os/glnxa64
Note: Here <matlabroot> is the location in your system where MATLAB R2017b is installed.
Eg: ‘/usr/local/MATLAB/R2017B’.
Following are the commands to execute in linux shell to perform the above mentioned operation: (You may need root privilege)
# cd /usr/local/MATLAB/R2017b (or wherever you may have installed MATLAB)
# cd sys/os/glnxa64
# mkdir exclude
# mv libstdc++.so.6* exclude/
# exit
Hope it helps

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by