Hi Dan, Mikhail,

I was told that the toolchain I was using is setup to use bionic. Is
there a way to tell what libc is being used?

Could this have something to do with the fact that I am building a
static binary?

tia,
rouble

On Wed, Apr 13, 2011 at 4:12 PM, Dan Fandrich <[email protected]> wrote:
> On Wed, Apr 13, 2011 at 03:59:32PM -0400, rouble wrote:
>> I have compiled busybox as a static binary for an android system.
>>
>> Most things work great, but I can not get any of the DNS related
>> applets (nslookup, ping, traceroute etc) to work for domain names.
>> They work fine for IP addresses. I think what is happening is that
>> busybox is looking for some specific libc libraries that are missing -
>> since android uses bionic instead of libc.
>>
>> Does anyone know of a way to get this to work?
>
> You don't say which libc you used when you statically linked Busybox. If you
> used bionic, then it should just work. If you used glibc, then you've
> probably hit that well-known broken-by-design feature such that the DNS
> functions can't be statically linked and must be available in a dynamic
> library at run-time.  You could either make those libs available, or link
> against another libc.
>
>>>> Dan
> _______________________________________________
> busybox mailing list
> [email protected]
> http://lists.busybox.net/mailman/listinfo/busybox
>
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to