[Buildroot] ping not working in a glibc based buildroot

Eial Czerwacki eial at scalemp.com
Thu Jul 10 13:40:35 UTC 2014


Greetings Thomas,

On 07/10/2014 04:34 PM, Thomas Petazzoni wrote:
> Dear Eial Czerwacki,
>
> On Thu, 10 Jul 2014 16:02:42 +0300, Eial Czerwacki wrote:
>
>> On 07/10/2014 03:56 PM, Thomas Petazzoni wrote:
>>> Dear Eial Czerwacki,
>>>
>>> On Thu, 10 Jul 2014 15:35:10 +0300, Eial Czerwacki wrote:
>>>
>>>> pinging an ip works, the problem is when I use an machine alias.
>>> Then indeed your /etc/resolv.conf is wrong.
>>>
>>> Thomas
>> I copied the resolv.conf from my desktop to the remote machine and tried
>> to run ping, the problem still persists.
>> are there any specific libs that might be needed?
> Yes, the libnss_dns.so.* library, but normally it gets copied to the
> rootfs. Can you check you have it?
>
> Also, can you ping the DNS server from your embedded system?
>
> Thanks,
>
> Thomas
it seems that that file is missing but running LD_TRACE_LOADED_OBJECTS=1
/bin/busybox doesn't shows libnss_dns.so.* is missing.

should busybox need that file?

Eial.



More information about the buildroot mailing list