rocprofiler icon indicating copy to clipboard operation
rocprofiler copied to clipboard

error while loading shared libraries: libhsa-runtime64.so.1: cannot open shared object file: No such file or directory

Open shana34 opened this issue 3 years ago • 4 comments

shana34 avatar Dec 02 '21 00:12 shana34

I follow the guide in README, and get this...which confuse me a lot

shana34 avatar Dec 02 '21 00:12 shana34

I have the same problem. Is there any workaround?

vasslavich avatar Jan 27 '22 11:01 vasslavich

You can try to set LD_LIBRARY_PATH to /opt/rocm/lib explicitly. Which version of rocm are you using?

kikimych avatar Feb 24 '22 13:02 kikimych

You can try to set LD_LIBRARY_PATH to /opt/rocm/lib explicitly. Which version of rocm are you using?

I found libhsa-runtime64.so.1 under /opt/rocm/hsa/lib, and setting LD_LIBRARY_PATH to that location fixed the issue for me. I'm on ROCm 5.0.

kahmed10 avatar Mar 09 '22 05:03 kahmed10

Hi @shana34, apologies for the delay in response. Were you able to resolve your issue following @kikimych and @kahmed10's suggestions? You can also instruct the system linker on where to find .so files for ROCm by following the steps outlined at Post-install instructions.

harkgill-amd avatar Aug 12 '24 15:08 harkgill-amd

@shana34, I will close this ticket out for now. Please open a new ticket if you are experiencing similar errors with ROCm 6.2.1.

harkgill-amd avatar Sep 24 '24 17:09 harkgill-amd