davidshen84 Guru
Joined: 09 Aug 2008 Posts: 315
|
Posted: Sun Jun 30, 2024 3:45 am Post subject: How to troubleshoot symbol lookup error? |
|
|
Hi,
I am trying to build https://github.com/NVIDIA/libnvidia-container and https://github.com/NVIDIA/nvidia-container-toolkit on my local machine. I have "libnvidia-container" built and run successfully on my machine. I only have "nvidia-container-toolkit" built, but when I try to run it, I get the following error:
Quote: | nvidia-ctk: symbol lookup error: nvidia-ctk: undefined symbol: nvmlGpuInstanceGetComputeInstanceProfileInfoV |
I copied the "nvidia-ctk" directly from another Ubuntu machine and executed it on my Gentoo machine, and it worked.
"nvidia-container-toolkit" is almost all written in Go. I think something is missing when linking some C libs with Go binaries. But I don't know where to start looking. _________________ David Shen |
|