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.html

Reply via email to