Dynare on Linux :error while loading[ ...] libstdc++


I would like to use Dynare on a Linux compute server where Matlab is installed. When I tried to run an example i get the following error:

?? Error using ==> dynare
csh: No entry for terminal type "‘MATLAB Command Window’"
csh: using dumb terminal settings.
/home/asd1/marv/dynare_linux/dynare_v3/matlab/dynare_m: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

I suppose I need to recompile dynare but I dont know how.


This happens often on Linux systems that have different versions of their system libraries.
Grab the parser source and recompile on your machine.
Once this works, you may still encounter problems with other libraries. Then remove the *.mexlx files
Dynare will still work, but more slowly.
If you want you can get the source of mjdgges.src and compile the mex file on your machine, but you need to have LAPACK.
Then replacing the BLAS coming with LAPACK with ATLAS will still enhance your performanaces