https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63731
--- Comment #7 from Ian Lance Taylor <ian at airs dot com> --- That's really a question for the glibc maintainers. It's entirely a glibc issue. My understanding is that it's not actually libc.so that needs to be found. Glibc implements /etc/nsswitch.conf by loading a shared library for each entry listed there ("db", "files", etc.). That is a very flexible mechanism that allows nsswitch.conf to be extended on a system-specific basis. However, it only works if those shared libraries are available. It is those libraries (and libdl.so) that must be found at runtime. If the libraries can not be found, /etc/nsswitch.conf can not be implemented, and name lookups of various sorts fail by returning "not found."