curl / Mailing Lists / curl-users / 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.

configure 8.6.0 with a non-standard openssl path?

From: Zube via curl-users <curl-users_at_lists.haxx.se>
Date: Tue, 26 Mar 2024 05:57:24 -0600

Under 8.5.0, I was able to configure curl to find my compiled openssl:

./configure --with-openssl=/usr/local/aux/curl/ssl3013 --prefix=/usr/local/curl --with-zlib=/usr/local/aux/curl/zlib-1.3.1 --disable-ldap --disable-ldaps

I also set CFLAGS with proper includes and LDFLAGS with the proper libraries
and the proper runtime bits: "-Wl,-rpath -Wl,/usr/local/aux/curl/ssl3013/lib64"

When I try the same under 8.6.0, it always fails with:

**
configure: error: select TLS backend(s) or disable TLS with --without-ssl.

Select from these:

  --with-amissl
  --with-bearssl
  --with-gnutls
  --with-mbedtls
  --with-openssl (also works for BoringSSL and libressl)
  --with-rustls
  --with-schannel
  --with-secure-transport
  --with-wolfssl
**

I've tried using --with-ssl instead of --with-openssl, as well as
setting PKG_CONFIG_PATH as noted in the configure:

"when possible, set the PKG_CONFIG_PATH environment variable instead
of using this option"

both with and without --with-openssl, with and without with-ssl
and with both, all to no avail.

Would someone be kind enough to point me in the right direction?

Thank you for your time.

Cheers.
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-03-26