Re: SSL connection to MS SQL 2008

Plot Lost <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
When I last got freetds to work with encryption it was SQL 2005 not 2008,
> but anyway I couldn't get openssl to work, and somebody on the list
> suggested trying GNUTLS instead.  Have you tried that?
>
>   Bob
>
> Will give it a try.  gnutls-2.10.2 has now been compiled and installed.

Testing it to start with just using sqsh to prove the conectivity, but once
that works then freetds will be used from within a custom app that already
uses OpenSSL for other functions - don't know if both OpenSSL and GnuTLS can
be used at the same time by the same code...

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

gcc -pthread -g -O2 -Wdeclaration-after-statement -o .libs/fisql fisql.o
terminal.o edit.o handlers.o interrupt.o  ../../dblib/.libs/libsybdb.so
../../replacements/.libs/libreplacements.a -ldl -lrt
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_global_init'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_mac_set_priority'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_transport_set_ptr'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_handshake'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_strerror'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_global_set_log_function'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_init'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_global_deinit'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_set_default_priority'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_transport_set_pull_function'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_certificate_allocate_credentials'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_certificate_free_credentials'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_transport_set_push_function'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_kx_set_priority'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_global_set_log_level'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_record_send'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_record_recv'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_cipher_set_priority'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_deinit'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_credentials_set'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_compression_set_priority'
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.