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

Ondřej Surý ondrej at sury.org
Tue Aug 21 11:55:56 UTC 2007


Gabor Gombas píše v Út 21. 08. 2007 v 12:26 +0200:
> On Sun, Aug 19, 2007 at 08:07:39PM +0200, Ondřej Surý wrote:
> 
> > Correct fix would be to find why it didn't find libdb4.4.
> 
> [...]
> 
> So, if you happen to have _any_ libdbX.Y package installed that has a
> version higher than the -dev package (example: you have all libdb4.4,
> libdb4.4-dev, and libdb4.5 installed) then the Cyrus configuration
> snippet will find the highest library version (4.5 in this case, since
> the linker will find the /usr/lib/libdb-4.5.so library), and not the
> version of the -dev package. And that will cause the version mismatch.

Now I see.  You're right.  But where did db-4.5 come from?  2.3.8-1
source from experimental doesn't have it, 2.3.8-1 source from subversion
doesn't have it.  Is this your local modification?

Correct fix is either fix berkdb.m4 macro to use information
from /usr/include/db.h (DB_VERSION_MAJOR and DB_VERSION_MINOR) or just
by using:

Build-Conflict: libdb4.5
Build-Depends: libdb4.4-dev

Which of course needs to be modified each time new libdb4.x is released.

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