Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to troubleshoot symbol lookup error?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
davidshen84
Guru
Guru


Joined: 09 Aug 2008
Posts: 315

PostPosted: Sun Jun 30, 2024 3:45 am    Post subject: How to troubleshoot symbol lookup error? Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum