bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] gnutls link failure, ssl


From: Karl Berry
Subject: [Bug-wget] gnutls link failure, ssl
Date: Wed, 10 Aug 2011 14:38:58 GMT

My initial build of wget failed due to gnutls version problems.
configure said:
..
checking for main in -lgnutls... yes
configure: compiling in support for SSL via GnuTLS

But then the link failed with:
gcc  -O2 -Wall   -o wget cmpt.o connect.o convert.o cookies.o ftp.o css.o 
css-url.o ftp-basic.o ftp-ls.o hash.o host.o html-parse.o html-url.o http.o 
init.o log.o main.o netrc.o progress.o ptimer.o recur.o res.o retr.o spider.o 
url.o utils.o exits.o build_info.o iri.o version.o ftp-opie.o gnutls.o 
../lib/libgnu.a -lgnutls -lgcrypt -lgpg-error -lz  -lidn -lrt
gnutls.o: In function `ssl_connect_wget':
gnutls.c:(.text+0x4b0): undefined reference to `gnutls_priority_set_direct'
gnutls.c:(.text+0x528): undefined reference to `gnutls_priority_set_direct'
collect2: ld returned 1 exit status

Evidently configure should check for gnutls_priority_set_direct also.
And if it fails, hopefully it will fall back to openssl.
(This was on CentOS 5.6, but presumably that doesn't especially matter.)

Related, there used to be an option --with-libssl-prefix.  I'm not sure
when it was removed, but it was useful.

Also, configure --help does not mention the possibility of
--with-ssl=openssl.

Finally, the NEWS file doesn't say anything about either of these:
preferring tls to openssl or the --with-ssl=openssl option.  I didn't
look to see if there were other configure options that didn't make to
the --help and/or NEWS.

Thanks,
Karl




reply via email to

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