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: building curl on macos

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 10 Jun 2021 23:51:53 +0200 (CEST)

On Thu, 10 Jun 2021, Dave via curl-library wrote:

> Am I right in assuming that $PREFIX_OPENSSL would be set by this?
> ./configure --with-ssl=$openssldir/builds/osx/release

Yes. And that should be the prefix to where you installed OpenSSL.

And note that we prefer --with-openssl now instead of--with-ssl to make it
more explicit what you're asking for. The latter one will be removed at some
point in time.

> The path I am passing (see my original email) does indeed have a ssl.h at
> $openssldir/builds/osx/release/include/openssl/ssl.h
>
> The error though is not about the ../osx/release folder, but a
> .../osx/debug folder next to it, which doesn't exist.
> Nor am I telling any script to look for a debug folder as far as I am aware.

I can't explain that. Here's the configure code that checks for the header:

https://github.com/curl/curl/blob/23eef2394cb810294a669d4bb4862bbdb2f5ced6/m4/curl-openssl.m4#L333-L335

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-06-10