freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] OS X build dies, missing ssl.h
- Date: Fri, 22 Apr 2016 15:48:57 +0100
2016-04-21 23:47 GMT+01:00 Craig A. Berry <craigberry AT mac.com>:
> 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) ?
Frediano
-
[freetds] OS X build dies, missing ssl.h,
Craig A. Berry, 04/21/2016
-
Re: [freetds] OS X build dies, missing ssl.h,
Frediano Ziglio, 04/22/2016
-
Re: [freetds] OS X build dies, missing ssl.h,
Frediano Ziglio, 04/22/2016
- Re: [freetds] OS X build dies, missing ssl.h, Craig A. Berry, 04/22/2016
-
Re: [freetds] OS X build dies, missing ssl.h,
Frediano Ziglio, 04/22/2016
-
Re: [freetds] OS X build dies, missing ssl.h,
Frediano Ziglio, 04/22/2016
Archive powered by MHonArc 2.6.24.