Ubuntu 22.04.2 LTS installation issue

I am getting the following comments:

FreeFem++: error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory

Thank you in advance for any assistance you may be able to provide

in last version of fortran le libgfortran is version 5 not 4 this issue the raison,

But which freefem++ version did you use,

To solve this issue compile freefem++

Thanks for the reply. I have installed the recent version of FreeFEM (V 4.12. )