[Buildroot] ping not working in a glibc based buildroot

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jul 10 14:06:59 UTC 2014


Dear Eial Czerwacki,

On Thu, 10 Jul 2014 16:40:35 +0300, Eial Czerwacki wrote:

> it seems that that file is missing but running LD_TRACE_LOADED_OBJECTS=1
> /bin/busybox doesn't shows libnss_dns.so.* is missing.

libnss_* files are dlopen()'ed by the glibc, so I'm not sure
LD_TRACE_LOADED_OBJECTS will show it.

It's clearly not normal that libnss_dns.so is missing. Here is a
Buildroot build using the internal toolchain backend with glibc that I
did a few days ago:

$ ls -l target/lib/libnss_*
-rwxr-xr-x 1 thomas thomas 17904 Jul  8 23:34 target/lib/libnss_dns-2.18.so
lrwxrwxrwx 1 thomas thomas    18 Jul  8 23:28 target/lib/libnss_dns.so.2 -> libnss_dns-2.18.so
-rwxr-xr-x 1 thomas thomas 46668 Jul  8 23:34 target/lib/libnss_files-2.18.so
lrwxrwxrwx 1 thomas thomas    20 Jul  8 23:28 target/lib/libnss_files.so.2 -> libnss_files-2.18.so

Could you please show:

 */ The output of 'ls -l output/target/lib'

 */ The version of Buildroot you're using

 */ The complete Buildroot configuration (.config file) you're using

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list