bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undefined reference to gnutls_protocol_set_priority() when compiling


From: Tim Rühsen
Subject: Re: Undefined reference to gnutls_protocol_set_priority() when compiling latest wget version
Date: Fri, 15 May 2020 20:07:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]