Bug 114150 - libdb-4.1.so broken in compat-db
libdb-4.1.so broken in compat-db
Product: Red Hat Raw Hide
Classification: Retired
Component: compat-db (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
Blocks: 135876
  Show dependency treegraph
Reported: 2004-01-23 04:10 EST by Joe Orton
Modified: 2007-04-18 13:02 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-15 12:59:00 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 Joe Orton 2004-01-23 04:10:00 EST
After upgrading to db-4.2.52 and compat-db-4.1.25:

# rpm -q compat-db
# /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

# 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)
Comment 1 Jeff Johnson 2004-01-23 04:16:37 EST
There are 2 problems: 
    cyrus-imapd needs link against db-4.2.52
    db-4.1.25 needs link against pthreads.
Comment 2 Joe Orton 2004-11-05 06:41:43 EST
Still present in Raw Hide...

# rpm -qf /lib/libdb-4.1.so
# 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)
Comment 6 Jeff Johnson 2004-11-14 08:27:22 EST
Fixed by linking -lpthread in compat-db-4.1.25-7.
Comment 8 Jeff Johnson 2004-11-15 12:59:00 EST
ExcludeArch: ia64 removed in compat-db-4.1.25-8 build for RHEL-4.

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