NVIDIA / libnvidia-container

NVIDIA container runtime library
Apache License 2.0
843 stars 205 forks source link

centos7 cuda official image conflict with glibc version in /usr/lib64 #142

Open melyseengit opened 3 years ago

melyseengit commented 3 years ago

libnvidia srcfile common.h use /usr/lib64 to map libcuda.so etc. in centos7 however in cuda official image it also use this directory /usr/lib64 to put the glibc lib.

so when I have some elf (eg. python) that is linked with higher glibc, and also I need to use the libcuda.so etc. I'd use env var LD_LIBRARY_PATH to include the libcuda.so and here I got into the glibc version conflict problem

how may I use glibc the version I want to use while I use the libcuda.so inner the container at the same time? any idea?