Re: OS X build dies, missing ssl.h
Frediano Ziglio <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <CAHt6W4dbLafp7DW=Ej955niABs2_D5iPTF3tXZ5O-p6suohnWA@mail.gmail.com> |
2016-04-22 15:48 GMT+01:00 Frediano Ziglio <[email protected]>: > 2016-04-21 23:47 GMT+01:00 Craig A. Berry <[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? >> > > > So... Mac OS X removed the possibility to use the SSL part of OpenSSL > project but they still say that the library is present and working? > Looks like a bug to me. > > I think the "solution" would be to do a more accurate check (check > that a small SSL_read test can be compiled and linked correctly > including the openssl/ssl.h header). > The mail suggest to use a different library. Not that easy to do. Is > anyway GnuTLS an option (is it installed by default in Mac OS X) ? > Craig, can you try current master version? Did some improvements on OpenSSL detection. Frediano _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds