From: Eial Czerwacki <eial@scalemp.com>
To: buildroot@busybox.net
Subject: [Buildroot] ping not working in a glibc based buildroot
Date: Thu, 10 Jul 2014 17:13:57 +0300 [thread overview]
Message-ID: <53BE9FA5.9070002@scalemp.com> (raw)
In-Reply-To: <20140710160659.18c3af57@free-electrons.com>
Greetings Thomas,
On 07/10/2014 05:06 PM, Thomas Petazzoni wrote:
> 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
I've added libnss_dns-2.18.so to the img and libresolv.so and it seems
to be working.
the files are missing because I work in a kinda limited size.
do I need the other libnss_*.so files?
Thanks,
Eial.
next prev parent reply other threads:[~2014-07-10 14:13 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-09 13:28 [Buildroot] ping not working in a glibc based buildroot Eial Czerwacki
2014-07-09 14:22 ` Baruch Siach
2014-07-09 14:40 ` Eial Czerwacki
2014-07-09 14:46 ` Gustavo Zacarias
2014-07-09 14:53 ` Eial Czerwacki
2014-07-10 12:15 ` Eial Czerwacki
2014-07-10 12:23 ` Thomas Petazzoni
2014-07-10 12:35 ` Eial Czerwacki
2014-07-10 12:56 ` Thomas Petazzoni
2014-07-10 13:02 ` Eial Czerwacki
2014-07-10 13:34 ` Thomas Petazzoni
2014-07-10 13:40 ` Eial Czerwacki
2014-07-10 14:06 ` Thomas Petazzoni
2014-07-10 14:13 ` Eial Czerwacki [this message]
2014-07-10 14:16 ` Thomas Petazzoni
2014-07-10 14:25 ` Eial Czerwacki
2014-07-10 21:18 ` Yann E. MORIN
2014-07-10 14:24 ` Baruch Siach
2014-07-10 14:34 ` Eial Czerwacki
2014-07-10 16:30 ` Yann E. MORIN
2014-07-13 6:37 ` Eial Czerwacki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53BE9FA5.9070002@scalemp.com \
--to=eial@scalemp.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.