Difference between revisions of "MatLab issue"
(Created page with "Thanks to my bright student Tobias Valbjørn a fix for starting MatLab from the application launcher was solved. '''Problem:''' Matlab R2017b is installed on ubuntu 16.04 LT...")
Revision as of 10:45, 23 November 2017
Thanks to my bright student Tobias Valbjørn a fix for starting MatLab from the application launcher was solved.
Matlab R2017b is installed on ubuntu 16.04 LTS. The application does not start when launching the binary. When you run the application from the shell it starts, but shows a problem with this information in it:
'GLIBCXX_3.4.21' not found
A tip from this site solved the problem:
As explained in the link:
"This issue might be due to an incompatibility between the libstdc++ shipped with MATLAB and the libstdc++ shipped with the system that the other application was linked against.
"This is caused because the version of this particular library packaged with MATLAB is older than the versions that come with newer Linux operating systems, which causes compatibility issues."
He suggests a workaround where you change the name og the listdc++.so.6 file in the matlab folder, so that matlab can't find it and is forced to use the one on your system.
Locate the path by running the command:
user@myhost ~ ]$ find -name "libstdc++.so.6"
This is the path I need:
Change directory to glnxa64
user@myhost ~ ]$ cd ./.local/share/Trash/files/matlab_R2017b_glnxa64/bin/glnxa64/libstdc++.so.6
Changing the name:
user@myhost ~ ]$ mv libstdc++.so.6 libstdc++.so.6.old