Why compat-db42 not linked against libpthread?
Issue
compat-db43 is not linked against libpthread on RHEL6 despite db4 on RHEL5 being linked against the library.
RHEL6:
$ rpm -qf /lib/libdb-4.3.so
compat-db43-4.3.29-15.el6.i686
$ ldd /lib/libdb-4.3.so
linux-gate.so.1 => (0x0071d000)
libc.so.6 => /lib/libc.so.6 (0x003cd000)
/lib/ld-linux.so.2 (0x00c26000)
RHEL5:
$ rpm -qf /lib/libdb-4.3.so
db4-4.3.29-10.el5_5.2
$ ldd /lib/libdb-4.3.so
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7e82000)
libc.so.6 => /lib/libc.so.6 (0xf7d26000)
/lib/ld-linux.so.2 (0xf7fab000)
$ LD_BIND_NOW=1 /usr/lib/sendmail
/usr/lib/sendmail: symbol lookup error: /lib64/libdb-4.3.so: undefined symbol: pthread_mutex_trylock
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
