Error after ubuntu update: 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

Hi everyone,
I could fix it following that solution:

Many greetings,