Updated: gdbm-1.8.3-1, libgdbm-devel-1.3.8-1 / NEW: libgdbm3-1.8.3-1

Charles Wilson cwilson@ece.gatech.edu
Thu May 22 02:41:00 GMT 2003


The gdbm package has been updated to version 1.8.3-1.  It is based on
the official GNU Database Manager distribution from the FSF,
gdbm-1.8.3.tar.gz.

CHANGES: (vs. 1.8.0-5)
    o Update to the latest (1.8.3) source
    o API change! NDBM and DBM compatibility API is no longer in -lgdbm.
      Instead, it is now in -lgdbm_compat.  For this reason, the DLL
      version number has been bumped, and the DLLs are now packaged in
      the 'libgdbm3' package, not the 'libgdbm' package.  This change
      originated "upstream" -- so don't blame me.
    o libgdbm3 and libgdbm packages can coexist on the same system.
      Currently, the libgdbm-1.8.0-5 package contains
         /usr/bin/cyggdbm.dll
      And the new libgdbm3-1.8.3-1 package contains
         /usr/bin/cyggdbm-3.dll
         /usr/bin/cyggdbm_compat-3.dll
    o Now built using libtool (so .la files are provided in the -devel
      package).

See NOTES below for more info about the API change, especially if you 
compile against libgdbm.

Charles Wilson
gdbm volunteer maintainer for cygwin

INSTALLATION:

To update your installation, click on the "Install Cygwin now" link on
the http://sources.redhat.com/cygwin web page.    This downloads setup.exe
to your system.

Run setup and answer all of the questions.  You must choose a
mirror, since direct downloads from 'cygwin.com' are no longer
allowed.

ftp://mirrors.rcn.net/pub/sourceware/cygwin/ (US)
ftp://linux.sarang.net/mirror/development/compiler/cygwin/ (Korea)
ftp://ftp.mirror.ac.uk/sites/sourceware.cygnus.com/pub/cygwin (UK)

The setup.exe program will figure out what needs to be updated on your
system and should install the gdbm package automatically. To install
this TEST version of gdbm you'll have to select the experimental radio
button in setup.

If you have questions or comments, please send them to the Cygwin
mailing list at:  cygwin@sources.redhat.com .  I would appreciate if you
would use this mailing list rather than emailing me directly. This
includes ideas and comments about the setup utility or Cygwin general.

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

           *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe to the cygwin-announce mailing list, look at
the "List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com@sources.redhat.com


NOTES:

While existing code should compile against the new library without 
(many) changes, the API of the library has been reorganized, which means 
that the DLL is now named cyggdbm-3.dll and not simply cyggdbm.dll. 
Thus, both the "old" DLL and the "new" DLL can coexist -- which is why 
the new DLL is in a new package (libgdbm3 instead of libgdbm)

So,
   old dll package: libgdbm-1.8.0-5, contains cyggdbm.dll
   new dll package: libgdbm3-1.8.3-1, contains cyggdbm-3.dll (and more)

A word about the reorganization: the "compatibility" wrapper functions 
that provided gdbm's "dbm" and "ndbm" personalities have been moved to 
the gdbm_compat library.  Thus, the "main" gdbm library from 1.8.3-1 is 
much smaller than the one from 1.8.0-5.

This means the cyggdbm_compat-3.dll is also in the libgdbm3 package. 
Further, it means that any application code that USED the "dbm" or 
"ndbm" personalities, now needs to link with "-lgdbm_compat -lgdbm" and 
not just -lgdbm.  Most programs don't use the compatibility 
personalities, and can simply continue to link only against -lgdbm.

Also, gdbm is now built using libtool, so we have .la files -- which 
should make autotool'ed client applications happy.




More information about the Cygwin-announce mailing list