On 15.05.20 19:08, Stephen Kirby wrote: > Petr/Everyone, > > Thanks so much for your detailed recommendations on how to proceed. You > were spot on regarding gnutls_priority_set_direct. I looked at config.log > and noticed configure was failing due to a missing pthread lib. I inserted > that, then had to fix some other missing symbols. Anyway, I have a > statically linked wget that I have now pushed onto the Google Pixel > Emulated phone I have running via Android Studio. > > I can definitely move this question to another forum if you all believe it > better since it involves an emulated Google Pixel phone now (x86_64 arch.), > but it has to do with wget still, so if I may please: > > on the emulated phone, I am trying: > > wget -O filename http://###.##.###.## (i.e., here I use the IP address > found via nslookup on the named URL) > > Then, I get: > HTTP request sent, awaiting response... 302 object moved > Location: https://(here it lists the correctly named URL) > Resolving (named URL)... Failed: Name or Server not known > wget: unable to resolve host address "named URL" > > I'll note that this wget call works perfectly on my Debian Linux > system, downloading the file I need. > Also interesting to me is the fact that I can ping _successfully_ both the > URL by name or its associated IP address, on the emulated phone So, not > sure why wget would throw this error.
wget uses getaddrinfo(), except you built it with c-ares. Perhaps you have 'strace' installed !? Then you could start wget with strace and see what fails (or why getaddrinfo fails). Regards, Tim
signature.asc
Description: OpenPGP digital signature
