Re: OS X build dies, missing ssl.h

"Craig A. Berry" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
> On Apr 22, 2016, at 11:19 AM, Frediano Ziglio <[email protected]> wrote:
> 
> 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]>:
>>> 
>>> 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.

They did it this way intentionally.  The library is still there for existing applications that have already linked against it, but the headers have been removed to prevent developers from building new applications using it.  Given that the OpenSSL API has been a moving target that has broken binary compatibility, their solution, while a bit extreme, is not completely insane.

>> 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) ?

No, there’s no GnuTLS by default.  I believe it can be built from source and OpenSSL definitely can for people who need it.

> Craig,
>  can you try current master version?
> 
> Did some improvements on OpenSSL detection.

That did the trick, thanks:

$ grep SSL include/config.h
/* Define if you have the OpenSSL. */
/* #undef HAVE_OPENSSL */

On to the next build failure.
________________________________________
Craig A. Berry
mailto:[email protected]

"... 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.