Today, the gdbm version in FreeBSD's ports has been updated to 1.9.1. After the upgrade, you might notice that some programs (notably, Apache, subversion, git) fail with the following message:
/libexec/ld-elf.so.1: Shared object "libgdbm.so.3" not found, required by "<programname>"
The reason for this behaviour is that the version of libgdbm has been bumped from 3 to 4, ie, there's now
libgdbm.so.4 instead of
/usr/local/lib. The solution is simple, albeit perhaps somewhat time consuming on a desktop system with a lot of packages that depending on gdbm:
portupgrade -frv gdbm-1\*
portmaster -r gdbm-1\*
A few ports also have libgdbm.so.3 hardcoded in their Makefiles. At least with net/avahi-app and audio/pulseaudio there seem to be no harmful effects from fixing their Makefile (where LIB_DEPENDS is defined, gdbm.3 needs simply to be replaced by gdbm.4).