Skip to Content.
Sympa Menu

freetds - [freetds] Build issue on AIX (invalid connection)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Sebastien FLAESCH <sf AT 4js.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Build issue on AIX (invalid connection)
  • Date: Tue, 22 Sep 2015 17:07:41 +0200

Trying to build 0.95.5 on AIX 6.1 in 64bit mode...

$ export OBJECT_MODE=64

$ CC="gcc -maix64" CXX="g++ -maix64" LDFLAGS="-maix64" ./configure
--prefix=$FTMDIR --with-odbc-nodm=/dbs/64bits/uxo/2.3.1

Note that we are using unixODBC 2.3.1, and we don't want to use unixODBC
as we link directly with libtdsodbc.a/.so ...

A simple connection fails and SQLGetDiagRec() returns a strange error message:

SQL State: 42000
SQL code : 18456
Message : [FreeTDS][SQL Server]L

SQL SERVER error 18456 is an invalid user/login issue, but when I switch to an
older version of FreeTDS (0.92), same data source + username + login connects
without problem...

Any ideas?

I suspect some unixODBC defines problem...

Any way to check that the unixODBC defines (32b/64b SQLLEN) match?

sizeof(SQLLEN) = 8

Seb




Archive powered by MHonArc 2.6.24.

Top of Page