[freetds] Troubles upgrading to freetds-0.82

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Thu Jun 26 05:07:01 EDT 2008

> Hello!
> I'm trying to update the FreeBSD port of FreeTDS from the current 0.64
>  http://www.freshports.org/databases/freetds/
> to the latest 0.82. I'm facing the following problems:
>  1. A number of header files are no longer installed by 
> FreeTDS itself.
>     tds.h is one example.
>  2. Similarly, shared libraries, such as libtds.so.5 is no 
> longer installed,
>     hurting binary compatibility (ABI) and, no doubt, some 
> Makefiles somewhere.

yes, we removed entirely libTDS (headers and libraries) from
distribution. This to assure future ABI.

>  3. Even on the API front, sqsh, for example, refuses to built now:
> cc -O2 -fno-strict-aliasing -pipe -march=opteron  
> -DSQSH_RC='"/opt/etc/sqshrc.default:/opt/etc/sqshrc:${HOME}/.s
-I/opt/include  -I/opt/include  -c cmd_bcp.c
> cmd_bcp.c: In function 'cmd_bcp':
> cmd_bcp.c:345: error: 'BLK_VERSION_150' undeclared (first use 
> in this function)
> cmd_bcp.c:345: error: (Each undeclared identifier is reported 
> only once
> cmd_bcp.c:345: error: for each function it appears in.)
> cmd_bcp.c:350: error: 'BLK_VERSION_125' undeclared (first use 
> in this function)
> cmd_bcp.c:355: error: 'BLK_VERSION_120' undeclared (first use 
> in this function)
> *** Error code 1
>  I notice, that BLK_VERSION_100 and _110 are still defined in 
> cspublic.h
>  (both as CS_VERSION_100), but that's it -- the API 
> compatibility with the
>  older version is now broken.

:( fixed in a post patch at freetds.sf.net. James is planning to package
an updated source package.

> Were all of these changes intentional, or are some of them an 
> oversight?
> Please, advise. Thanks!

  Frediano Ziglio

More information about the FreeTDS mailing list