Errors When Running Examples with linux shared/static binary distribution

I have downloaded the linux shared/static binary distribution and try to run the examples. I have change the prefix to local hdf5 installation directory in run-c-ex.sh. but still got following errors:

################# h5_crtdat #################
h5_crtdat.c:19:18: fatal error: hdf5.h: No such file or directory
#include “hdf5.h”
^
compilation terminated.
messed up compiling h5_crtdat.c
rm: cannot remove ‘.o’: No such file or directory
rm: cannot remove '
.h5’: No such file or directory

I changed prefix in run-c-ex.sh as:
prefix="//HDF5/hdf5-1.12.0-linux-centos7-x86_64-shared"

Did I miss anything? Thanks.

The scripts for running the examples make use of the compile scripts that are in the bin directory of the local hdf5 installation directory; h5cc for the C examples. You will first need to cd to that bin directory and run ./h5redeploy as described in the README file in the extracted binary, to allow those compile scripts to find the installed hdf5 include and lib directories.

The scripts provided in the examples should then compile and run the example files. On a few systems for just a few of the examples it may also be necessary to add the installed hdf5/lib directory to LD_LIBRARY_PATH, but that is fairly uncommon, and running ./h5redeploy in the installed hdf5 bin directory is needed to fix the error that you’ve seen.

Larry