@ndilieto so I made packages with all mbedtls,openssl and gnutls
--disable-maintainer-mode --disable-docs --with-mbedtls --without-gnutls --without-openssl
mbedtls is failing with
crypto.c:(.text+0x6be): undefined reference tombedtls_version_get_number'`
checking for libcurl >= 7.38.0... found 7.65.0
checking for curl_global_init in -lcurl... yes
checking for mbedtls_entropy_init in -lmbedtls... yes
configure: detected mbedTLS
[...]
crypto.c:164:9: warning: implicit declaration of function 'mbedtls_version_get_number'; did you mean 'mbedtls_x509_get_name'? [-Wimplicit-function-declaration]
if (mbedtls_version_get_number() < 0x02100000)
^~~~~~~~~~~~~~~~~~~~~~~~~~
mbedtls_x509_get_name
GnuTLS and OpenSSL are working well
mbedTLS is 2.16.1