From Fedora Project Wiki

< Changes

Revision as of 22:57, 2 July 2018 by Mhonek (talk | contribs) (to wrangler)


OpenLDAP without Non-threaded Libraries

Summary

OpenLDAP will not ship non-threaded version of libldap. Instead, libldap will be built with the same threading support as libldap_r.

Owner

  • Name: Matus Honek
  • Email: mhonek@redhat.com
  • Release notes owner:

Current status

Detailed Description

After this change the non-threaded version of libldap will not be shipped any more. Instead, this library will rather be built the same way as the threaded libldap_r. This has been previously discussed in [Bugzilla] and other distributions where this change already happened. Upstream still supports non-threaded version of their library as it might be used on processors where threads are not supported. However, when these two versions happen to be loaded at the same time (as discussed about Curl in the Bugzilla) symbol names overlap which may result in unpredictable behaviour. Immediate solution would be to symlink libldap to libldap_r, however SONAME of the library would be the same, hence breaking dependencies of other packages. For that reason the solution hereby proposed should be the most convenient one.

Benefit to Fedora

No potential unexpected issues due to symbol overlap.

Scope

  • Proposal owners: update SPEC file so that non-threaded libldap is replaced with threaded one.
  • Other developers: None. Issues should not occur.
  • Policies and guidelines: None.
  • Trademark approval: (not needed for this Change)

Upgrade/compatibility impact

No issues should occur.


How To Test

libldap and libldap_r should export same symbols, obviously except for SONAME. Any applications linking to OpenLDAP libraries may test that their LDAP related functionality works.

User Experience

User should not notice anything.

Dependencies

None.


Contingency Plan

  • Contingency mechanism: Revert the change.
  • Contingency deadline: beta freeze.
  • Blocks release? No.
  • Blocks product? No.

Documentation

Please, follow [this bug] for more insights.


Release Notes

OpenLDAP does not ship non-threaded version of libldap any more, libldap brings now the very same features libldap_r does.