MATLAB crashes during startup on Ubuntu 15.04 and newer, as well as distributions derived from those versions
When using Ubuntu Linux distributions 15.04 and newer, as well as distributions derived from those versions, MATLAB can crash during startup.
This crash occurs because these releases include a newer version of libstdc++.so.6 than the version shipped with MATLAB (version 6.0.17). When MATLAB loads version 6.0.17 first, the OS reaches an incompatibility that causes MATLAB to crash.
You can force MATLAB to load the newer version of the library provided by the operating system, by following these instructions:
- Identify the location where MATLAB is installed
- Navigate to the sys/os/glnxa64 directory within this installation folder
- Rename libstdc++.so.6 library to libstdc++.so.6.old
We have done limited testing with version 20 of libstdc++.so.6. If you experience problems with MATLAB when using this version, please contact MathWorks technical support.
This bug was fixed as of R2016b(9.1).
Last updated: 20 Febbraio 2017 by Mauro Hueller