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

Simon Matter simon.matter at ch.sauter-bc.com
Sun Apr 11 09:22:03 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.

Hi,

My first question is why you want to upgrade db4 just for cyrus-imapd? Did
you have problems with the 4.0.14 package?
If you really want another db4 than the one from RedHat 9, you could edit
the .spec file and change the _dbver macro to fit your needs. Maybe you
should also change the line with
'--with-bdb-incdir=%{_includedir}/%{_dbver}' but I don't know, you have to
find out yourself.

Simon

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


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