Bug#437838: cyrus-imapd-2.3: Daemons/tools die due to Berkeley DB version mismatch

Ondřej Surý ondrej at sury.org
Sun Aug 19 18:07:39 UTC 2007


Gabor Gombas píše v Út 14. 08. 2007 v 15:02 +0200:
> +	# On Debian, /usr/lib/libdb.so points to the version corresponding to the -dev package, so test that first
> +        for dbname in db db-4.5 db4.5 db45 db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3

This feels like asking for problems later.  This problem was probably
cause exactly by same thing you did, by executing block after loop:

        if test "$dblib" = "no"; then
            LIBS="$saved_LIBS -ldb"
            AC_TRY_LINK([#include <db.h>],
            [db_open(NULL, 0, 0, 0, NULL, NULL, NULL);],
            BDB_LIBADD="$BDB_LIBADD -ldb"; dblib="berkeley"; dbname=db,
            dblib="no")
        fi

Correct fix would be to find why it didn't find libdb4.4.

Could you supply more information about your build environment?  Include
at least list of libdb*-dev packages installed.

Ondrej
-- 
Ondřej Surý <ondrej at sury.org>  ***  http://blog.rfc1925.org/
Kulturní občasník              ***  http://www.obcasnik.cz/
Nehoupat, prosím               ***  http://nehoupat.blogspot.com/





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list