Re: can't build dll with gnutls on Windows
Frediano Ziglio <[email protected]> Tue, 6 Jun 2017 23:49:22 +0100
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <CAHt6W4cEjYcOF0b2GqhkCqZ2CNXnKMjK=v2o06xMGZ7XBaCUHA@mail.gmail.com> |
2017-06-02 12:38 GMT+01:00 Sergio NNX <[email protected]>: >> I need a freetds dll that uses gnutls instead of openssl for an old Windows >> application that uses db-library. All of the pre-built binaries I've found >> use openssl instead of gnutls. I attempted to build it myself but >> unfortunately I haven't been able to do so. > > I've read on several mailing lists that the use of gnuTLS is strongly discouraged! > > Personally I didn't find any recent post about it. From API prospective I prefer GnuTLS, also the choice of algorithms seems better in GnuTLS (OpenSSL keeps old not that secure stuff enabled by default). It seems nobody (me too) tested FreeTDS with GnuTLS under Windows. >> After getting stuck trying to use CMake I decided to try MingW. And when I >> got stuck with MingW I tried Cygwin. My results with both MingW and Cygwin >> were similar. I am unfamiliar with both of them and there appear to be a >> lot of steps I'm missing between "download and install MingW (or Cygwin)" >> and "build the freetds windows dll". > > It sounds really odd that neither VS nor CMake nor MinGW nor Cygwin worked! 😲 > Maybe the problem is using GnuTLS on Windows... no idea how to do it. Cygwin is not encouraged at all. I think MinGW means autoconf stuff trying to compile like under Unix. FreeTDS CMake files does not support this kind of configuration so saying that CMake should be used to generate VS project file I think this is the issue with CMake trying Windows+FreeTDS+GnuTLS. >> I could give a try, don't think is too hard but I never used GnuTLS on Windows; >> can you give some advice? > That sounds that it has never been tested? > Yes! But apparently it seems this was never an issue before some weeks ago :-) Not clear why OpenSSL is not a solution in this case. AppVeyor generate binaries for Windows, are these binaries not enough? Maybe the tools (tsql and so on) are missing? > > We have never used gnuTLS but I've already built it from source successfully and now I'm compiling freeTDS from master. So far I can see some 'interesting' things going on. I'll report back soon. > > > Ciao. Ciao, Frediano _______________________________________________ FreeTDS mailing list [email protected] http://mailman1.ibiblio.org/mailman/listinfo/freetds