[freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so
Chris McDaniel
Chris.McDaniel at telus.com
Sat Dec 14 01:49:15 EST 2002
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
More information about the FreeTDS
mailing list