Andreas wrote on 11/23/2004 01:42 PM:
On Mon, Nov 22, 2004 at 06:01:49PM -0500, Derrick J Brashear wrote:

I'm pleased to announce the release of Cyrus IMAPd 2.2.9. This release implements several bugfixes, notably one where lmtpproxyd could reuse a freed connection, another involving a pre-authentication buffer overrun in "imap magic plus" support (CAN-2004-1011) and lack of bounds checking in PARTIAL and FETCH. (CAN-2004-1012, CAN-2004-1013)


There is some trouble with berkeley DB detection. If one has more than
one version installed (or more than one way to call it, like -ldb4-2 and -ldb), it will use all it can (-ldb-4.2, -ldb4, -ldb, etc).


I added this patch to my build to fix this:

--- cyrus-imapd-2.2.9/cmulocal/berkdb.m4~       2004-09-13 18:57:17.000000000 
-0300
+++ cyrus-imapd-2.2.9/cmulocal/berkdb.m4        2004-11-23 10:11:13.019544144 
-0200
@@ -219,6 +219,7 @@
            [db_create(NULL, NULL, 0);],
            BDB_LIBADD="$BDB_LIBADD -l$dbname"; dblib="berkeley"; dbname=db,
             dblib="no")
+           if test "$dblib" = "berkeley"; then break; fi
           done
         if test "$dblib" = "no"; then
            LIBS="$saved_LIBS -ldb"

That's correct. I could reproduce this with db-4.2, db-4.1 on my system:

[EMAIL PROTECTED] ~]$ ldd /usr/lib/cyrus-imapd/cyrus-master  |grep -i db
        libdb-4.2.so => /lib/tls/i686/libdb-4.2.so (0x40151000)
        libdb-4.1.so => /lib/libdb-4.1.so (0x4021f000)

[EMAIL PROTECTED] SPECS]$ rpm -qf /lib/tls/i686/libdb-4.2.so /lib/libdb-4.1.so
db4-4.2.52-6
compat-db-4.2.52-2

Best,
 Oliver
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to