[prev in list] [next in list] [prev in thread] [next in thread]
List: freetds
Subject: Re: [freetds] OS X build dies, missing ssl.h
From: "Craig A. Berry" <craigberry () mac ! com>
Date: 2016-04-22 17:49:23
Message-ID: 4134B89F-7911-4FFA-A3DF-8EB68DF08F16 () mac ! com
[Download RAW message or body]
> On Apr 22, 2016, at 11:19 AM, Frediano Ziglio <freddy77@gmail.com> wrote:
>
> 2016-04-22 15:48 GMT+01:00 Frediano Ziglio <freddy77@gmail.com>:
> > 2016-04-21 23:47 GMT+01:00 Craig A. Berry <craigberry@mac.com>:
> > >
> > > 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:craigberry@mac.com
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser
_______________________________________________
FreeTDS mailing list
FreeTDS@lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic