Bug 139487 - undefined symbol pthread_mutex_trylock
Summary: undefined symbol pthread_mutex_trylock
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: compat-db
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-16 10:20 UTC by Oliver Falk
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-11-16 23:19:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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