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

Douglas Koobs dkoobs at dkoobs.com
Sat Apr 10 23:40:25 EDT 2004


Edward Rudd said:
> And you can't remove the db4-4.0.14??

There are many other packages that depend on it:

[root at mail log]# rpm -qa | grep db4
db4-utils-4.0.14-20
db4-4.0.14-20
db4-devel-4.1.25-4
gpg-pubkey-db42a60e-37ea5438
db4-4.1.25-4
[root at mail log]# rpm -e db4-4.0.14-20
error: Failed dependencies:
        libdb-4.0.so is needed by (installed) python-2.2.2-26
        libdb-4.0.so is needed by (installed) pam-0.75-48
        libdb-4.0.so is needed by (installed) db4-utils-4.0.14-20
        libdb-4.0.so is needed by (installed) perl-5.8.0-88.3
        libdb-4.0.so is needed by (installed) php-4.2.2-17.2
        libdb-4.0.so is needed by (installed) postfix-1.1.12-1
        libdb-4.0.so is needed by (installed) perl-DB_File-1.804-88.3
        libdb-4.0.so is needed by (installed) httpd-2.0.40-21.9
        db4 = 4.0.14-20 is needed by (installed) db4-utils-4.0.14-20

> and to see where libdb.so is pointing use ls -l
>   ls -l /usr/lib/libdb.so

Oh, it's a link, of course, silly me...

[root at mail log]# ls -l /usr/lib/libdb.so
lrwxrwxrwx    1 root     root           22 Apr 10 18:15 /usr/lib/libdb.so
-> ../../lib/libdb-4.1.so

> do a find / -name "libdb.so" and find any other libdb.so..
I've only got one libdb.so:

[root at mail log]# updatedb
[root at mail log]# locate libdb.so
/usr/lib/libdb.so
[root at mail log]# find / -name "libdb.so"
/usr/lib/libdb.so

>but it could be that configure wasn't able to link against your
libdb-4.1.so file.

The maillog says that "incorrect version of Berkeley db: compiled against
4.0.14, linked against 4.1.25". If I understand correctly, it properly
linked against the libdb-4.1.so file... I think what I want to do is
rebuild the rpm's, and get them to compile against 4.1.25. Is there a way
to do that?

Thanks again Ed!

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