Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Listing directory in MATLAB does not work with fish

Tags:

shell

matlab

fish

After I setup fish as the main shell chsh -s /usr/local/bin/fish, I've tried to use ls command in MATLAB, but I got the following error:

??? Error using ==> ls at 36
/usr/local/bin/fish: /opt/MATLAB/R2011a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.15'
not found (required by /usr/local/bin/fish)

Someone knows why it happens? My actual solution is to reset bash as the main shell and always run fish to use it.

like image 307
Yamaneko Avatar asked Dec 11 '25 20:12

Yamaneko


1 Answers

Matlab uses its own glibc librarires, and it's often a big mess because of that.

You can look at my answer there for one way to solve that: GLIBCXX not found when compiling vtk example under mex

like image 196
Oli Avatar answered Dec 14 '25 15:12

Oli