Problem during HDF5 building with mpif90


Hello, I’m having problems building hdf5-1.12.0 using intel fortran compiler.
This is the configure option setted:
./configure --enable-parallel --enable-fortran --enable-fortran2003 --prefix=$HDF5
and this is the error in which I occur
ifort: error #10236: File not found: ‘…/…/fortran/src/.libs/libhdf5_fortran.dylib’
ifort: warning #10182: disabling optimization; runtime debug checks enabled
make[2]: *** [fortranlib_test] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Thank you in advance,