New answers tagged matlab
I'm using Ubuntu 16.04LTS on a Lenovo ThinkStation S20 with GeForce 610 graphics card and installed Matlab R2016a. I renamed the library above but this fix did not work for me. Instead, I switched display drivers from Nvidia to the open source Nouveau. Matlab is working now.
Try to install matlab-support,but first you'll need to check whether multiverse is already included or not. sudo gedit /etc/apt/sources.list If not included yet, then add this line deb http://us.archive.ubuntu.com/ubuntu xenial main multiverse Update your system and install the package sudo apt-get update sudo apt-get install matlab-support Then ...
Oh... I found answer myself: 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.
In /usr/local/MATLAB/R2016a/sys/os/glnxa64/ there are 3 files that need to be linked to the OS libraries, which are different that those than Matlab was compiled against. To do this you need to type the following at a terminal cd /usr/local/MATLAB/R2016a/sys/os/glnxa64/ sudo ln -sf /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0 libgfortran.so.3 sudo ln -sf ...
Researching a little more and installing the matlab support files wixed the problem. sudo apt-get install matlab-support
I had the excact same problem with gparted. But, I saw back on the How to cancel an installation in the Software Center? question this: pkill -15 dpkg It worked for me, and I hope it works for you, if you have not already solved the problem. :D
Top 50 recent answers are included