Open
Description
As discussed in #515, CUDA library path is often set in the environment through ld.so.conf.d and LD_LIBRARY_PATH as requested in https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#mandatory-post
AMD ROCm doesn't recommend this a strongly in https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation_new.html#post-install-actions-and-verification-process, and their official ackages don't seem to update ld.so.conf by default currently ROCm/ROCm#1665
We added some warnings at the end of configure to detect this somehow-broken installation, but adding --enable-rpath configure option might workaround the issue if things don't improve.