Ld: not found. -lcusolver: No file or directory

when i use hpc_sdk to accelrate my project the below problem shows
ld: not found. -lcusolver: No file or directory
ld: Not found -lcublas: No file or directory
ld: Not found -lcufft: No file or directory

how can i finish it

due to some reason,i need the hpc_sdk,but i have to use the cuda
i can find the lib in “/opt/nvidia/hpc_sdk/Linux_x86_64/23.1/math_libs/lib64”


and i also add it in the bashrc like this

however , i still can’t slove the problem

The ld linker doesn’t use the LD_LIBRARY_PATH environment variable.

You should specify needed library paths during the link phase with the -L/path/to/libraries/... switch (-L followed by the path to the libraries)