Building FREETDS

Steve Langasek vorlon at netexpress.net
Sun Nov 4 14:43:02 EST 2001


On Thu, Oct 18, 2001 at 07:19:04PM -0400, Brian Bruns wrote:

> Just for the sake for completeness, I need to mention that when
> configuring --enable-dbmfix, a define for dbopen() is created so that code
> that includes sybdb.h can still call dbopen() directly.  This change is a
> few months old, but I think the doc needs to reflect that.  Note: that
> dbm and dblib still can not be compiled in the same object file (without
> undefining dbopen, and using tdsdbopen), but they can be reference in
> separate objects and linked together.  Which is what most people (perl,
> php) are looking for anyway.

<getting back into the swing of things post-vacation>

I believe that the --enable-dbmfix option should be removed altogether,
in favor of making this an always-on behavior.  As discussed here
previously, ABI compatibility with Sybase is not a goal, only API
compatibility; the tdsdbopen symbol + dbopen alias retain the latter
while breaking the former, which should be acceptable.

Such a change should be accompanied by incrementing the major number of
libsybdb.so, as it represents a backwards-incompatible change to the
ABI (depending how the library was compiled previously).  Other than
that, I don't see any problems with such a solution, and many benefits
(in the form of fewer support requests, and more stuff just working for
people).  So unless anyone sees a downside that I've missed, I'll put
together a patch against CVS for this within a couple of days.

Steve Langasek
postmodern programmer

P.S., is there an issue with threading on this list?  I thought it used
to work ok, but mutt definitely isn't able to make head or tail of
message IDs currently...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20011104/ebaf4aee/attachment.bin 


More information about the FreeTDS mailing list