Mastiff
Mastiff

Reputation: 2240

MATLAB codegen: /lib64/libstdc++.so.6: version: 'GLIBCXX_3.4_20' not found

Trying to run codegen with MATLAB 2019a on a linux box and got the error:

... /lib64/libstdc++.so.6: version: 'GLIBCXX_3.4_20' not found ...

I have /lib64/libstdc++.so.6, just (apparently) not the right version. How can I resolve this?

Upvotes: 0

Views: 229

Answers (1)

Cris Luengo
Cris Luengo

Reputation: 60780

Here is a list of supported compilers for your version of MATLAB.

Apparently MATLAB R2019a on Linux requires GCC 6.3.x. Make sure you have that version installed.

Upvotes: 1

Related Questions