Skip to Content.
Sympa Menu

freetds - Re: Link error for C++ with FreeTDS - certain dblib calls missing in FreeTDS lib

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James K. Lowden <jklowden AT speakeasy.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Link error for C++ with FreeTDS - certain dblib calls missing in FreeTDS lib
  • Date: Sat, 24 Aug 2002 14:07:59 -0400


(Hey, hey, the gang's all here, a FreeTDS Saturday. :)

On Sat, 24 Aug 2002 10:28:56 -0400 (EDT), "Brian Bruns" <camber AT ais.org>
wrote:

> On Sat, 24 Aug 2002, Savitri Sarangi wrote:
>
> dbopen is a #define in the header file. Are you trying to link freetds
> to an existing application compiled against openclient?

Just to remind, dbopen() became the exported name about a month ago;
DBOPEN is in the .h. That's what Sybase does (of late).

> > dbaltbind, dbcolbrowse, dbsetlname etc, etc) I then
> > checked FreeTDS libraries libsybdb.a, libtds.a, libct.a for presence
> > of these functions. No, they are not found.
>
> These function are not yet implemented. To be honest they are not used
> that often, and I believe you are the first person to ask for them!
>
> dbsetlname() is not in the dblib manual, I thought is was purely an
> internal function actually (all the DBSETL* routines call this,
> inefficient).

Savitri, do you have the source code for the program you're linking to
FreeTDS? What are the calling semanatics of dbsetlname()? It doesn't
appear in either vendors' documentation.

> dbaltbind will be mostly a duplication of the existing bind routines,
> but may need some underpinnings.

dbaltbind binds a compute column to a program variable. I never used it
myself (too much work for too little result; it's easy enough to do your
own summaries) but is it really a duplication of something else?

> > Can any one help me asap? In which shared library of FreeTDS these
> > functions are present? Why my installation lacks that? I installed
> > FreeTDS from Freetds-0.53.tgz. I also tried current snapshot available
> > on the site

Try http://www.freetds.org/api_status.txt

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page