Red Hat Bugzilla – Bug 152161
Please link nss_ldap with lpthread (fixes ocal)
Last modified: 2007-11-30 17:11:02 EST
Description of problem:
The Oracle Calendar client fails when run on a FC3 system that uses nss_ldap
with the following error:
"symbol __pthread_atfork, version GLIBC_2.0 not defined in file libpthread.so.0
with link time reference"
Linking nss_ldap with libpthread (added to SHAREDLIBS in the spec file) fixes
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure /etc/nsswitch.conf to use ldap for passwd
2. Stop nscd (it crashes faster that way)
3. Start ocal
symbol __pthread_atfork, version GLIBC_2.0 not defined in file libpthread.so.0
with link time reference
Linking a demand-loaded module against libpthread is not expected to work in
cases where the application which loads the module isn't already linked with
libpthread, so I have to close this can't-fix.
If these are both the nss_ldap and glibc packages from FC3, then the fix needs
to be made some other way.