Installation error, missing libcufft.so.10

GROMACS version: 2023.1
GROMACS modification: No

I am trying to install Gromacs 2023.1 with CUDA 12.3. After make check, however, I am getting the following error in 10 tests:

“error while loading shared libraries: libcufft.so.10: cannot open shared object file: No such file or directory”

I have checked /usr/local/cuda/lib64 and found libcufft.so.11 files. Does anybody know why is this not working and how to solve it?