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: Assistance building curl 7.77.0 with OpenSSL 3.0
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 21 Aug 2021 11:35:14 +0200 (CEST)
On Fri, 20 Aug 2021, Randall S. Becker via curl-library wrote:
> My latest configure command for OpenSSL 3.0 is:
>
> CFLAGS="-c99" CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED=1 -Wlp64 -WIEEE_float
> -I/usr/local-ssl3.0/openssl/include" LDFLAGS="-L/usr/local-ssl3.0/lib"
> conf_script_floss_cc --with-ssl=/usr/local-ssl3.0 --disable-pthreads
> --disable-threaded-resolver --enable-ipv6'
On 64 bit systems, OpenSSL doesn't make a 'lib' anymore. It uses lib64 only
(and no, I don't know why they decided this). My custom OpenSSL 3 install dir:
$ ls ~/build-openssl/
bin include lib64 share ssl
This breaks old curl configure scripts but the current one is adapted and I
build with OpenSSL 3 fine and we have a CI job doing it as well.
My configure line for this needs nothing special:
./configure --with-ssl=$HOME/build-openssl
... even if I also usually set LDFLAGS="-Wl,-rpath,$HOME/build-openssl/lib64"
to make it co-exist with other OpenSSL installs better.
Date: Sat, 21 Aug 2021 11:35:14 +0200 (CEST)
On Fri, 20 Aug 2021, Randall S. Becker via curl-library wrote:
> My latest configure command for OpenSSL 3.0 is:
>
> CFLAGS="-c99" CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED=1 -Wlp64 -WIEEE_float
> -I/usr/local-ssl3.0/openssl/include" LDFLAGS="-L/usr/local-ssl3.0/lib"
> conf_script_floss_cc --with-ssl=/usr/local-ssl3.0 --disable-pthreads
> --disable-threaded-resolver --enable-ipv6'
On 64 bit systems, OpenSSL doesn't make a 'lib' anymore. It uses lib64 only
(and no, I don't know why they decided this). My custom OpenSSL 3 install dir:
$ ls ~/build-openssl/
bin include lib64 share ssl
This breaks old curl configure scripts but the current one is adapted and I
build with OpenSSL 3 fine and we have a CI job doing it as well.
My configure line for this needs nothing special:
./configure --with-ssl=$HOME/build-openssl
... even if I also usually set LDFLAGS="-Wl,-rpath,$HOME/build-openssl/lib64"
to make it co-exist with other OpenSSL installs better.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2021-08-21