91fa21f Bug 755725 - 389 programs linked against openldap crash during shutdown

Authored and Committed by rmeggins 12 years ago
    Bug 755725 - 389 programs linked against openldap crash during shutdown
    
    https://bugzilla.redhat.com/show_bug.cgi?id=755725
    Resolves: bug 755725
    Bug Description: 389 programs linked against openldap crash during shutdown
    Reviewed by: nhosoi (Thanks!)
    Branch: master
    Fix Description: With recent versions of openldap, you cannot link with both
    ldap_r and ldap - when the shared object _fini is run, the _fini from the one
    will stomp on the _fini from the other, and the program will crash.  The fix
    is to link with ldap_r only in a threaded program, and ldap otherwise.
    Platforms tested: Fedora 16, RHEL6 x86_64
    Flag Day: no
    Doc impact: no
    
        
file modified
+8 -4
file modified
+12 -7