After upgrading to db-4.2.52 and compat-db-4.1.25: # rpm -q compat-db compat-db-4.1.25-1 # /etc/cron.daily/cyrus-imapd bash: /root/.bashrc: Permission denied /usr/cyrus/bin/ctl_deliver: relocation error: /lib/libdb-4.1.so: undefined symbol: pthread_mutex_trylock may be simply because libdb-4.1.so does not have a DT_NEEDED for libpthread.so # ldd /lib/libdb-4.1.so libc.so.6 => /lib/tls/libc.so.6 (0x00761000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00749000)
There are 2 problems: cyrus-imapd needs link against db-4.2.52 db-4.1.25 needs link against pthreads.
Still present in Raw Hide... # rpm -qf /lib/libdb-4.1.so compat-db-4.1.25-6 # ldd -d -r /lib/libdb-4.1.so undefined symbol: pthread_condattr_setpshared (/lib/libdb-4.1.so) undefined symbol: pthread_mutexattr_destroy (/lib/libdb-4.1.so) undefined symbol: pthread_mutexattr_setpshared (/lib/libdb-4.1.so) undefined symbol: pthread_mutexattr_init (/lib/libdb-4.1.so) undefined symbol: pthread_mutex_trylock (/lib/libdb-4.1.so) libc.so.6 => /lib/tls/libc.so.6 (0x00132000) /lib/ld-linux.so.2 (0x00115000)
Fixed by linking -lpthread in compat-db-4.1.25-7.
ExcludeArch: ia64 removed in compat-db-4.1.25-8 build for RHEL-4.