Bug 139487

Summary: undefined symbol pthread_mutex_trylock
Product: [Fedora] Fedora Reporter: Oliver Falk <oliver>
Component: compat-dbAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-16 23:19:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Oliver Falk 2004-11-16 10:20:53 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041109 Firefox/1.0

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
by this:

-bash-3.00$ /usr/lib/cyrus-imapd/ctl_mboxlist 
/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 
compat-db-4.2.52-1

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):
compat-db-4.2.52-1

How reproducible:
Always

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
    

Additional info:

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

Comment 1 Jeff Johnson 2004-11-16 12:52:05 UTC
Ah, yes. -lpthread is needed, db-4.1.25 had same problem. 


Comment 2 Oliver Falk 2004-11-16 14:25:06 UTC
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...

Comment 3 Jeff Johnson 2004-11-16 23:19:19 UTC
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
compat-db-4.2.52-2.