jshn9515
New member
Hi, I tried to install WRF-4.5.2 on CentOS 7.9, all the dependencies had been checked and all tests had passed. But during installation, I received following errors:
```shell
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: cannot find -lhdf5_hl_fortran
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: cannot find -lhdf5_fortran
collect2: error: ld returned 1 exit status
```
It looked like my HDF5 library was not correctly installed, but I used `make check`, and none of the tests failed.
Here is my log.compile file, at about 3977 line, this error occurred.
Thanks for looking!
```shell
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: cannot find -lhdf5_hl_fortran
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: cannot find -lhdf5_fortran
collect2: error: ld returned 1 exit status
```
It looked like my HDF5 library was not correctly installed, but I used `make check`, and none of the tests failed.
Here is my log.compile file, at about 3977 line, this error occurred.
Thanks for looking!