Skip to Content.
Sympa Menu

freetds - Re: [freetds] Library loading

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Library loading
  • Date: Mon, 13 Sep 2010 23:09:02 -0400

Richard Gibson wrote:
>
>
> I also
> believe that libtds is for internal use by the FreeTDS library - is this
> correct?

Yes. Current versions don't normally create libtds as a shared object.

> So, I am left with libct and libsybdb. I know that there are three APIs
> (db-lib, ct-lib and odbc) and I am looking to use either db-lib or
> ct-lib. Which of the two libraries (libct and libsybdb) should I load?
> Does each .so correspond to a certain API, or does one .so provide more
> than one API?

libct is ct-lib; libsybdb is db-lib.

I recommend db-lib because it's constantly improved. No one has worked on
ct-lib much in several years.

> Additionally, what are the entry point function names?

Cf. doc/api_status.txt in your distribution.

> I also extracted most of the functions in the .so using readelf -a but
> I'm none the wiser.

nm(1) is your friend.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page