Why compat-db42 not linked against libpthread?

Solution In Progress - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content