While installing the R package “hdf5r” version 1.3.3, I encountered the error:

fatal error: hdf5.h: No such file or directory #include <hdf5.h> ^~~~~~~~
compilation terminated.

My OS is Debian buster/10.6, and the package “libhdf5-dev” has been installed. It looks R cannot find the path of hdf5 header and library …