Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.35-r1 symbols not found #199

Closed
D34DC3N73R opened this issue Apr 13, 2023 · 2 comments
Closed

v2.35-r1 symbols not found #199

D34DC3N73R opened this issue Apr 13, 2023 · 2 comments

Comments

@D34DC3N73R
Copy link

I use this package to add glibc support in netdata which uses alpine as a base. The primary reason is to allow GPU passthrough via nvidia-container-toolkit. Nvidia drivers require glibc. In v2.34-r0 this works as intended. But in v2.35+ I get missing symbol errors when calling the nvidia-smi binary.

using 2.34-r0

docker exec -it netdata /bin/bash
bash-5.1# nvidia-smi
Thu Apr 13 18:21:42 2023       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.105.17   Driver Version: 525.105.17   CUDA Version: N/A      |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro P2000        Off  | 00000000:09:00.0 Off |                  N/A |
| 48%   37C    P0    18W /  75W |   3236MiB /  5120MiB |      2%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

using 2.35-r1

docker exec -it netdata /bin/bash
bash-5.1# nvidia-smi
Error relocating /usr/bin/nvidia-smi: __isnan: symbol not found
Error relocating /usr/bin/nvidia-smi: __strtok_r: symbol not found
Error relocating /usr/bin/nvidia-smi: __strdup: symbol not found

an example of a Dockerfile (currently using 2.34-r0) can be found here.

@chadlwilson
Copy link

This is likely the same root cause(s) as #176, #175, #181

If you script installation there's a possible workaround at #175 (comment) although you might also have to make sure libc6-compat isn't installed (and conflicting).

@D34DC3N73R
Copy link
Author

@chadlwilson thanks that does work. I'll close this since it seems like a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants