[BusyBox] Re: dhcp

Rob Landley rob at landley.net
Sun May 15 15:14:28 UTC 2005


On Sunday 15 May 2005 05:24 am, Allan Clark wrote:
> Rob Landley wrote:
> >On Saturday 14 May 2005 02:29 am, Henry Pan wrote:
> >>># ping: www.google.com:Unknown host
> >>
> >>I have the same problem before,
> >>I found out the reason is missing some libs as follow
> >>/lib/libnss_dns*
> >>/lib/libresolv*
> >
> >This should be a FAQ.  Statically linking against uclibc does what you'd
> >expect, but statically linking against glibc tends to introduce hidden
> >dependencies the above libraries, ones that ldd won't notice...
>
> Those hidden dependencies, those are not noticed because they're
> dlopen()'d based on nsswitch, right?
>
> Allan

Sounds about right.  It's a glibc issue, not a busybox issue, but we still get 
hit by it because people have a higher than usual incentive ot compile our 
code static.

Rob



More information about the busybox mailing list