[freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so
Patrick van Kleef
pkleef at openlinksw.com
Wed Dec 18 16:27:58 EST 2002
Hi,
Attached you will find a patch for iODBC 3.0.6 which should solve your
connection problems with the FreeTDS ODBC driver. For this test i
used the latest FreeTDS version from CVS, with just a small change to make
it compile properly (patch attached).
I have made a successful connection using the following commands:
export TDSHOST=droopy
export TDSPORT=1433
export TDSVER=7.0
odbctest "DSN=tds;UID=test;PWD=XXXX"
where my odbc.ini contained just:
[tds]
Driver=/usr/local/freetds/lib/libtdsodbc.so
Please let me know if this resolves your issues, so i can commit this fix
into the iODBC CVS archive.
Best regards,
Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iodbc.diff
Type: application/octet-stream
Size: 2348 bytes
Desc: iodbc.diff
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20021218/bddc46d5/iodbc.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetds.diff
Type: application/octet-stream
Size: 558 bytes
Desc: freetds.diff
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20021218/bddc46d5/freetds.obj
-------------- next part --------------
Patrick van Kleef Email : iodbc at openlinksw.com
Maintainer iODBC Web : http://www.iodbc.org/
OpenLink Software
Universal Data Access & Data Integration Technology Providers
More information about the FreeTDS
mailing list