I apologize if this is really straightforward but I feel like an idiot. For Linux, I get hdf5 libraries for Fortran very easily. But now I am on mac and the official binary distribution has no Fortran libraries. What am i missing? Do i have to build them myself?
Intel used to have Fortran for a mac - they stopped support. Since our builds use clang - that Fortran has not been perfected yet. Therefore our Mac binaries do not have Fortran. I think you could build with gcc and gfortran possibilly.
For Mac I like the MacPorts repository. Their HDF5 port includes the fortran HDF5 library by default. Currently that package is built with gcc14/clang and gfortran.
https://ports.macports.org/port/hdf5/details/
I have not tested the fortran API. However, the port status page shows good fortran builds for all recent Mac configurations.