http://sourceware.org/ml/libc-alpha/2012-08/msg00118.html https://bugs.gentoo.org/431038 do not bother running ldconfig on DESTDIR. it wants to write the temp cache file outside of the chroot. doesnt matter anyways as we wont use the cache results (portage will rebuild cache), so running ldconfig is simply a waste of time. --- a/Makefile +++ b/Makefile @@ -117,4 +117,5 @@ install: +dont-bother-with-destdir: -test ! -x $(common-objpfx)elf/ldconfig || LC_ALL=C LANGUAGE=C \ $(common-objpfx)elf/ldconfig $(addprefix -r ,$(install_root)) \