Using gnuTLS
"Tony Baldarelli" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <014e01cbf60d$33343ba0$999cb2e0$@com> |
Hello, I am trying to run tsql with SSL. As per another conversation, tsql with SSL on SQL Server (http://lists.ibiblio.org/pipermail/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