Skip to Content.
Sympa Menu

freetds - [freetds] Using gnuTLS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Tony Baldarelli" <tbaldarelli AT wmsvision.com>
  • To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Using gnuTLS
  • Date: Fri, 8 Apr 2011 12:51:25 -0400

Hello,
I am trying to run tsql with SSL. As per another conversation,
“tsql with SSL on SQL Server”
(https://lists.ibiblio.org/sympa/arc/freetds/2011q2/026893.html ), we are
trying to get it to work with openssl. This is my preference. But I am
trying to setup freeTDS with gnuTLS at the same time, on the off chance that
we cannot get the openssl method to work. Well, I am running into problems
with the gnuTLS version of freeTDS. Here are the exact steps I took, in the
order I took them in:
1. Ran “make clean”
2. Ran “make distclean”
3. Ran “./configure --with-gnutls”
• No reported problems
• See
https://docs.google.com/leaf?id=0ByXBOuIPIVA0MTg4OTdkMzQtZTMwNy00NjVmLTg1M2M
tZjg2NjU0NzlmYzBh&hl=en&authkey=CPiI2rwL for config.log
• See
https://docs.google.com/leaf?id=0ByXBOuIPIVA0YmM4MDc3NTMtZTM5Yy00MmRkLWJhYzQ
tYzk0MGMxZDBmMjg2&hl=en&authkey=CJ_P-5sL for config.status
4. Ran “make”
• Got below errors:
gcc -pthread -g -O2 -o .libs/fisql fisql.o terminal.o edit.o
handlers.o interrupt.o ../../dblib/.libs/libsybdb.so
../../replacements/.libs/libreplacements.a -lncurses -lreadline -lrt
-Wl,--rpath -Wl,/usr/local/lib
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_record_send'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_handshake'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_transport_set_pull_function'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_global_deinit'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_global_init'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_transport_set_push_function'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_global_set_log_level'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_strerror'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_cipher_set_priority'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_certificate_allocate_credentials'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_mac_set_priority'
../../dblib/.libs/libsybdb.so: undefined reference to `gnutls_init'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_compression_set_priority'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_global_set_log_function'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_certificate_free_credentials'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_kx_set_priority'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_record_recv'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_transport_set_ptr'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_deinit'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_set_default_priority'
../../dblib/.libs/libsybdb.so: undefined reference to
`gnutls_credentials_set'
collect2: ld returned 1 exit status
make[3]: *** [fisql] Error 1
make[3]: Leaving directory
`/home/wms/v9/std/lcn/src/lib/3rdParty/freetds-0.82/src/apps/fisql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/wms/v9/std/lcn/src/lib/3rdParty/freetds-0.82/src/apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/wms/v9/std/lcn/src/lib/3rdParty/freetds-0.82/src'
make: *** [all-recursive] Error 1
5. Ran “make > make.log 2>&1” again, to get a log of the make output. See
https://docs.google.com/leaf?id=0ByXBOuIPIVA0N2FhMjBlMDEtOTMzMy00MGZlLWJhZGQ
tOGUyODg3ZGI1NTU2&hl=en&authkey=CMSXk6kI.
6. Did not run “make install” because of above errors

Thanks for your help. Like I said, I would prefer to keep using openssl as
per the other conversation, but I would be remiss if I did not at least look
at the gnuTLS option.
 
Tony







Archive powered by MHonArc 2.6.24.

Top of Page