OS X build dies, missing ssl.h

"Craig A. Berry" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
I just tried a build as of git ea27e5044071d2c on OS X 10.11.4 and it fell down hard with:

Making all in .
  CC     mem.lo
In file included from mem.c:33:
../../include/freetds/tls.h:37:12: fatal error: 'openssl/ssl.h' file not found
#  include <openssl/ssl.h>
           ^
1 error generated.

At configuration time it said:

checking if openssl is wanted... yes
checking for OPENSSL... yes

which as far as I can tell is derived from running:

$ pkg-config --exists --print-errors “openssl"

which returns nothing.  So it thinks it has OpenSSL.  But it seems Apple has long-since deprecated it:

<http://lists.apple.com/archives/macnetworkprog/2015/Jun/msg00025.html>

Is there something reasonable that could make configure not detect the unmaintained bits of the OpenSSL libraries that have no associated headers in current OS X?

________________________________________
Craig A. Berry

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.