Skip to Content.
Sympa Menu

freetds - Re: [freetds] libtds, libreplacements...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: andrey.utkin AT wildix.com
  • Cc: TDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] libtds, libreplacements...
  • Date: Sat, 8 Nov 2008 10:41:08 -0500

andrey.utkin AT wildix.com wrote:
> cdr_tds.c is a module of asterisk. You can take a look on it:
> http://svn.digium.com/view/asterisk/branches/1.4/cdr/cdr_tds.c?view=markup
>
> Using 0.63 libtds from etch "made it work" - it brings shared lib
> libtds.so. Now i link cdr_tds.so only against it.

That server is down for me atm. But I think I might know what's going on.


My guess is that cdr_tds.c doesn't use an API library, but instead links
directly to libtds. We have always discouraged that practice, and as of
0.82 we don't provide by default a libtds.so. Instead, as I explained
(and as appears in the README) libtds functions are statically linked into
the API libraries.

If I'm right, you should be able to link to libtds.a instead of libsybdb
and/or libct. That would be to your benefit because a lot has happened
since 0.63.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page