The build seems to fail with:
/usr/local/cuda-11.5/lib64/libcublas.so: undefined reference to `cublasLtGetStatusString@libcublasLt.so.11'

Could you check the symbol via nm -gD libcublas.so (you should see that it’s undefined), make sure libcublas.so links to libcublasLt.so via ldd, and then check that the symbol is defined in libcublasLt.so?
Based on the error I guess that either libcublasLt.so might be missing (or at least the link is broken).