fix: add libc6-compat — required for dlopen of glibc shared objects on Alpine
gcompat alone provides only the ELF interpreter entry point (/lib64/ld-linux-x86-64.so.2).
It does NOT provide libpthread.so.0, libm.so.6, libdl.so.2, libc.so.6 stubs.
libnvidia-ml.so.590 has NEEDED: libpthread.so.0 etc. When nvidia-smi calls
dlopen("libnvidia-ml.so.1"), musl's linker fails to satisfy these deps
→ NVML_ERROR_LIBRARY_NOT_FOUND (exit 12), "couldn't find libnvidia-ml.so".
libc6-compat provides the missing stubs (libpthread.so.0, libm.so.6, libdl.so.2,
libc.so.6, librt.so.1) as musl redirects, enabling dlopen of glibc shared objects.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -47,6 +47,7 @@ less
|
|||||||
vim
|
vim
|
||||||
dialog
|
dialog
|
||||||
gcompat
|
gcompat
|
||||||
|
libc6-compat
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
rc_add devfs sysinit
|
rc_add devfs sysinit
|
||||||
|
|||||||
@@ -53,5 +53,6 @@ profile_bee() {
|
|||||||
dialog
|
dialog
|
||||||
|
|
||||||
gcompat
|
gcompat
|
||||||
|
libc6-compat
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user