I recently updated my ubuntu to Ubuntu 22.04 LTS and now I obtain the following error when running
stoch_simul;
even in files, which were previously running smoothly:
Invalid MEX-file '/usr/lib/dynare/mex/matlab/mjdgges.mexa64': /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libgfortran.so.5:
version `GFORTRAN_10' not found
Commands like steady; or resid still work without throwing an error.
For any recommendation on what to do, I would be very grateful.
glad that you could solve it
Could I ask you a question? I am also using Ubuntu and am still on 20.04 and wanted to hold back from updating since Matlab and Dynare are essential for me and not really feel like debugging too much right now haha. Did you have any issues with Matlab and Dynare on 22.04 (except the one you just fixed)?
Typically installing the package matlab-support and choosing to rename the gcc files takes care of such issues and you won’t have to link files around.