Open xuegege5290 opened 8 months ago
Do I need to recompile the glibc library and add options like --enable-static-nss to implement static linking of the NSS library?
Or if I use the Nix package manager for compilation, will I not encounter issues like this that depend on the host's glibc libraries?
Hi~ I've encountered some issues while compiling conmon and I'm seeking a resolution. I wish to compile conmon as a statically linked binary so that it can be used in other environments. However, after completing the static compilation, there's a warning that suggests conmon will still depend on the glibc version of the host machine when run in other environments. Is there a way to resolve this issue? Of course, you might think that using the Nix package manager would be straightforward, but I'm unable to use Nix and would prefer to compile directly, as direct compilation is also faster.
Note that I have used the same method to compile CRI-O without any issues.