[freetds] SSL connection to MS SQL 2008

Plot Lost plot.lost at gmail.com
Mon Oct 4 13:37:47 EDT 2010


>
>
> Can't get freetds to compile with gnutls though at the moment:
>

Got this one now - the configure script calls libgntls-config to get the
config details but that was removed in gnu tls 2.8.0 and later, pkg-config
should be used instead.

Changing lines 22581 and 22582 on the configure script from:

CPPFLAGS="$CPPFLAGS `libgnutls-config --cflags`"
NETWORK_LIBS="$NETWORK_LIBS `libgnutls-config --libs`"
to:

CPPFLAGS="$CPPFLAGS `pkg-config --cflags gnutls`"
NETWORK_LIBS="$NETWORK_LIBS `pkg-config --libs gnutls`"

allows freetds to compile against later versions of gnu tls.



More information about the FreeTDS mailing list