Skip to Content.
Sympa Menu

freetds - connections fail with the freetds odbc driver

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Jean-Paul Le Fevre <JP.LeFevre AT free.fr>
  • To: freetds AT franklin.metalab.unc.edu
  • Subject: connections fail with the freetds odbc driver



Hi,

I'm unable to use the freetds odbc driver.

1) None of the test programs work : odbctest, odbctest.pl etc.
The connection fails. Here is typical trace :

[00000400]: SQLAllocHandle ( ... )
SQL_SUCCESS

[00000400]: SQLSetStmtAttr ( ... )
SQL_ERROR
Segmentation fault

However test.pl, tsql work fine, the OpenLink ODBC evaluation driver
is also OK. Other drivers for MySQL and PostgreSQL are also correct.
I'm using iodbc as the manager.

2) N.A.

3) I'm using versions 0.60 and current (24/09/2002). As far as I remember
an older version (0.54 ?) was better : the connections succeeded but
characters got from the server were corrupted.

4) TDS version 5.0
5) Linux pc-jplf 2.4.19 #3 Wed Aug 21 10:36:06 CEST 2002 i686 unknown
6) Adaptive Server Enterprise/12.5/SWR 9609
GA/P/Sun_svr4/OS 5.8/main/1647/32-bit/FBO/Sat Jun 2 00:49:20 2001

Some remarks :

I don't know exactly how to build the test programs in src/odbc/unittests :
Which libraries must be specified ?

I don't know which libct.so to choose : yours or the one provided by
Sybase ? Yours make sqsh crash.

What are these libodbc libs in the Sybase shared/unresolved_libs directory
coming with the Sybase rpm ? I gave them a try but they didn't work.

Thank you,

--
____________________________________________________________________________

Jean-Paul Le Fèvre * Mail : JP.LeFevre AT free.fr





  • connections fail with the freetds odbc driver, Jean-Paul Le Fevre, 09/26/2002

Archive powered by MHonArc 2.6.24.

Top of Page