I met with the following error when booting recent builds: ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory ldconfig: /usr/lib/libstdc++.so.6.0.14-gdb.py is not an ELF file - it has the wrong magic bytes at the start. The 2nd line is an old bug (bug 441), but the first line should be a recent issue.
I made a fix: in meta/recipes-core/eglibc/eglibc-package.inc, ${sysconfdir} should be added into FILES_${PN}.
Fixed by http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=ff2448a6c43be5cec55fe54590d38dd6616f3818 and http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=5ea93132cebf952f3fa818f4b814a994031dcfb0
Now I don't see the warning "ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory" and I can see an empty /etc/ld.so.conf in target. Let me VERIFY the bug.