curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Compiling curl 8.0.1 with OpenSSL 3.1.0 - ../lib/.libs/libcurl.so: undefined reference to ...

From: Rahul Sabnis via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 17 Apr 2023 00:39:35 +0530

On Mon, Apr 17, 2023 at 12:04 AM Jeffrey Walton via curl-library <
curl-library_at_lists.haxx.se> wrote:

> On Sun, Apr 16, 2023 at 2:27 PM Henrik Holst
> <henrik.holst_at_millistream.com> wrote:
> >
> > https://www.openssl.org/docs/man3.0/man7/OPENSSL_NO_DEPRECATED.html
> >
> > It should IMHO be just -DOPENSSL_NO_DEPRECATED
>
> Yeah, I was thinking that, too.
>
> And Rahul may (probably?) need OPENSSL_API_COMPAT=30000, if I am
> parsing https://www.openssl.org/docs/man3.0/man7/openssl_user_macros.html
> correctly.
>

Tried without and with both those macros (OPENSSL_NO_DEPRECATED &
OPENSSL_API_COMPAT) but same error.
Attached config log in both cases.

I can't get the link right now, but someone mentioned that setting the
macro OPENSSL_NO_DEPRECATED_3_0 might address this
Also, I found it in the code..

$ grep -r OPENSSL_NO_DEPRECATED *
lib/vtls/openssl.c: !defined(OPENSSL_NO_DEPRECATED_3_0)
lib/md5.c: #if !defined(OPENSSL_NO_MD5) &&
!defined(OPENSSL_NO_DEPRECATED_3_0)
lib/curl_ntlm_core.c: #if !defined(OPENSSL_NO_DES) &&
!defined(OPENSSL_NO_DEPRECATED_3_0)

Rahul


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
  • application/x-zip-compressed attachment: config.zip
Received on 2023-04-16