Bug#437838: cyrus-imapd-2.3: Daemons/tools die due to Berkeley DB version mismatch
Gabor Gombas
gombasg at sztaki.hu
Tue Aug 14 13:02:33 UTC 2007
Package: cyrus-imapd-2.3
Version: 2.3.8-1
Severity: grave
Tags: patch
Justification: renders package unusable
Hi,
On AMD64, all daemons and database tools die complaining that they were
compiled against db-4.4 headers but were linked against db-4.5. For
local Cyrus builds I have used the following patch (autoreconf is needed
after applying):
--- cmulocal/berkdb.m4.orig 2007-02-13 16:44:00.000000000 +0100
+++ cmulocal/berkdb.m4 2007-08-14 14:53:42.000000000 +0200
@@ -213,7 +213,8 @@
fi
saved_LIBS=$LIBS
- for dbname in 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 db
+ # 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
do
LIBS="$saved_LIBS -l$dbname"
AC_TRY_LINK([#include <db.h>],
Gabor
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22.1 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list