Fixing a broken Matlab installation after an Ubuntu update

Today, I updated Ubuntu as usual and suddenly Matlab stopped working. Instead of starting up nicely, it only complained about some “segmentation violation”. Luckily however, I came across a rather simple solution to this problem. All I had to do was to install the “matlab-support” and “matlab-support-dev” packages via:

sudo aptitude install matlab-support
sudo aptitude install matlab-support-dev

and after that, Matlab worked like a charm again. I just wanted to share that insight in case anyone stumbles across the same problem one day. 🙂

2 thoughts on “Fixing a broken Matlab installation after an Ubuntu update

  1. Dear Lukas,

    Thanks for the tip. I had the same problem and installing matlab-support helped.

    My guess is that the culprit was the libstdc++.so.6 that is supplied with matlab. Renaming that file was the thing that actually fixed matlab for me.

    anon

    Like

  2. Hi Anon,

    Thanks for your comment. I’m glad matlab-support helped fixing your problem. I guess you’re right about libstdc++.so.6. It took me quite a while to actually find the source of this problem.

    Cheers,
    Lukas

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s