Upgrading to cyrus-imapd-2.2.3-8 using Simon's RPM's

Doug Koobs dkoobs at dkoobs.com
Sun Apr 11 08:34:42 EDT 2004


After a good night of sleep, I am ready to take this problem on again...

I have a better understanding of the problem after re-rading Edward's 
replied. If I understand correctly, the problem I am having is that I 
rebuilt Cyrus RPM's from source RPM's. It seems that the RPM's I built 
were compiled against db4-4.0. However, the resulting installed packages 
are linked to db4-4.1, as can be seen in the following errors in 
/var/maillog:

Apr 10 17:02:53 mail imap[22212]: incorrect version of Berkeley db: 
compiled against 4.0.14, linked against 4.1.25
Apr 10 17:02:53 mail imaps[22213]: incorrect version of Berkeley db: 
compiled against 4.0.14, linked against 4.1.25
Apr 10 17:02:53 mail pop3[22214]: incorrect version of Berkeley db: 
compiled against 4.0.14, linked against 4.1.25
Apr 10 17:02:53 mail pop3s[22215]: incorrect version of Berkeley db: 
compiled against 4.0.14, linked against 4.1.25

I need to keep db4-4.0 because other packages depend on it. However, I 
want to rebuild the Cyrus RPM's from source, but make sure that they 
compile against the newer db4-4.1 library. How can I do this? Do I have 
to make some change to the environment? Or can I edit the .spec file? I 
looked at the .spec file, and found the line:

# Do we use db3 or db4 ? If we have db4, assume db4, otherwise db3.
%define                 _dbver %(eval "rpm -q --quiet db4 && echo db4 || 
echo db3")

But I can't find anywhere to specify which db4 to use.

If anyone can help, I will very much appreciate it! I need to have the 
mail server back up before everyone gets back in the office tomorrow.

Thanks!

Doug

---
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




More information about the Info-cyrus mailing list