no ssl.h on macos?

Jason Azze jason at azze.org
Sat Feb 9 13:56:15 UTC 2019


On Sat, Feb 9, 2019, at 8:28 AM, Hal Murray via devel wrote:
> I thought we got farther than this last night.
> 
> Does macos have OpenSSL?  What version?
> 

This ( https://stackoverflow.com/questions/43415106/openssl-conf-h-file-not-found-error-on-macos-sierra) stackoverflow answer suggests it does, but it's deprecated. It makes the following suggestion:

"
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.zshrc

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include
For pkg-config to find this software you may need to set:
    PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
"


More information about the devel mailing list