Skip to Content.
Sympa Menu

freetds - [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Chris McDaniel" <Chris.McDaniel AT telus.com>
  • To: "'freetds AT lists.ibiblio.org'" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so
  • Date: Sat, 14 Dec 2002 01:49:15 -0700

Hello,

I have a couple questions -
I'd like to use the freetds libraries with iODBC to connect to a remote SQL
Server (v6.5)
Is that possible?

Assuming it is, I get this message when I try to use iODBCs odbctest prog:
[iODBC][Driver Manager]Driver's SQLAllocEnv() failed, SQLSTATE=IM004

here is my odbc.ini
------------------------------
[ODBC Data Sources]
SBS = SQL Server

[ODBC]
Debugfile=/tmp/odbc.out

[SBS]
Description = SQL Server
UID = xxxxxxx
PWD = xxxxxxxx
TDSHOST = 12.178.18.4
TDSPORT = 1433
TDSVER = 4.2
Driver = /usr/local/lib/libtdsodbc.so
Database = BSRes2
ServerName = SBS

Is my compile of the lib broken or did I do something wrong?

I'm using Solaris 8, gcc 2.95.3, iODBC 3.0.6 and freetds 0.60

Thanks,

Chris McDaniel






Archive powered by MHonArc 2.6.24.

Top of Page