Blogs Blogs


databases/gdbm 1.8.3 to 1.9.1 upgrade problems

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/ Shared object "" 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 instead of in /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 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).

Trackback URL: