Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 139487 - undefined symbol pthread_mutex_trylock
undefined symbol pthread_mutex_trylock
Product: Fedora
Classification: Fedora
Component: compat-db (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2004-11-16 05:20 EST by Oliver Falk
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-16 18:19:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Oliver Falk 2004-11-16 05:20:53 EST
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 

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

How reproducible:

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 07:52:05 EST
Ah, yes. -lpthread is needed, db-4.1.25 had same problem. 
Comment 2 Oliver Falk 2004-11-16 09:25:06 EST
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 18:19:19 EST
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

Note You need to log in before you can comment on or make changes to this bug.