Red Hat Bugzilla – Bug 139487
undefined symbol pthread_mutex_trylock
Last modified: 2007-11-30 17:10:54 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
It seems db4-4.2.52-6 was compiled in another way than compat-db-4.2.52-1.
I compiled cyrus-imapd-2.2.8 myself some time ago against db 4.2.52,
but today after upgrading to db 4.3.21 and compat-db 4.2.52 I was hit
/usr/lib/cyrus-imapd/ctl_mboxlist: symbol lookup error:
/lib/libdb-4.2.so: undefined symbol: pthread_mutex_trylock
[root@weizen ~]# rpm -qf /lib/libdb-4.2.so
This makes me believe that the new compat-db is not compiled like the
old db4 package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Compile cyrus-imapd against db 4.2.52
2. Upgrade db4 to 4.3.21
3. Upgrade compat-db to 4.2.52
I'm currently not able to compile cyrus-imapd against db 4.3, since
cyrus has no support for it yet (compile error that can be fixed, but
not sure about what happens then...).
Ah, yes. -lpthread is needed, db-4.1.25 had same problem.
OK, can you repackage this asap. I'd really would like to upgrade db4
and all the other stuff. I also guess, that other cyrus users will
have this problem...
FWIW, cyrus needs to go to db-4.3.21, not otherwise,
for a real fix.
Meanwhile, libdb-4.2.so linked against -lpthread is in