Why does MATLAB R2017b display erroneous message about libgiolibproxy.so on Ubuntu 17.10?

1 Ansicht (letzte 30 Tage)
Why does MATLAB R2017b display the following erroneous message about libgiolibproxy.so on Ubuntu 17.10?
$ /usr/local/MATLAB/R2017b/bin/matlab
/usr/local/MATLAB/R2017b/bih/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/x864_64 linux gnu/gio/modules/libgiolibproxy.so

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 2 Nov. 2017
Bearbeitet: MathWorks Support Team am 2 Nov. 2017
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

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by