[BusyBox] Resolver problem with uClibc
John Hall
jdh28 at bigfoot.com
Tue Jan 1 06:52:32 UTC 2002
On 31 December 2001 18:38 Geoffrey Espin <espin at idiom.com> wrote:
> > I've compiled busybox 0.60.2 statically against the latest stable
> > version of uClibc on uClibc.org (0.9.8). I can't get any name
> > resolution to work. My hosts file looks like this:
> > When I try and ping something by name I get:
> > # ping localhost
> > ping: localhost: Resolver Error 0 (no error)
> > # ping ns.local
> > ping: ns.local: Resolver Error 0 (no error)
> > Pinging by IP address does work.
> > Does anyone know what I am doing wrong?
> Do you have a "/etc/nsswitch.conf"?
>
> I had this same kind of error with GNU libc, until following
> Vladimir's suggestions. If this recent (attached) message from him
> isn't it, check the archive.
Do I need an nsswitch.conf with uClibc? I tried creating all the files
you suggest but to no avail. Vodz's message which you refer to says:
> You should reconfigure glibc with an option
>
> configure --enable-static-nss
>
> and add line to busybox Makefile
> LIBRARIES += -lc -lnss_files -lnss_dns -lresolv
> (only this, not remove -lc, not mixing -lc and -lnss !)
>
> or use Uclibc.
I'm using uClibc and this post implies that it should just work...
Cheers,
John Hall
More information about the busybox
mailing list