Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'freetds AT lists.ibiblio.org'" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so
  • Date: Wed, 18 Dec 2002 11:53:25 -0500

> From: web-guy01 [mailto:web-guy01 AT attbi.com]
> Sent: December 18, 2002 10:49 AM
>
> Thank you Patrick.
>
> Forgive my ignorance, but how do I apply these patches? I
> don't know what to do with a .diff file.

"man patch" will help in general. :)

In specific, if you cd to top of the FreeTDS source tree and "patch
freetds.diff" you should be in good shape. patch(1) will tell you what file
it changes. Then recompile and see.

Patrick: Nice going.

--jkl

>
> Thanks.
> ----- Original Message -----
> From: "Patrick van Kleef" <pkleef AT openlinksw.com>
> To: <freetds AT lists.ibiblio.org>
> Sent: Wednesday, December 18, 2002 10:27 AM
> Subject: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so
>
>
> > 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
> >
> >
>
>
> --------------------------------------------------------------
> --------------
> ----
>
>
> > Patrick van Kleef Email : iodbc AT openlinksw.com
> > Maintainer iODBC Web : http://www.iodbc.org/
> > OpenLink Software
> >
> > Universal Data Access & Data Integration Technology Providers
> >
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.






Archive powered by MHonArc 2.6.24.

Top of Page