Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33907

CAPI library should be ABI ready

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0, 4.1.1
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Fully Compatible
    • Platforms 2018-04-23, Platforms 2018-05-21, Platforms 2018-06-04, Platforms 2018-06-18, Platforms 2018-07-16, Platforms 2018-08-13, Platforms 2018-08-27

      Several things to fix here:

      • The library is currently installed without version adornments or ABI tags. It should be installed under an ABI related soname with appropriate symlinks.
      • The headers are currently just installed to $PREFIX/include. They should be installed under a path that includes the project name and an ABI suffix, like libmongoc-1.0, etc.
      • The header file names, and library names should be made more consistent across the CAPI library, the embedded transport, and their associated headers.
      • The symbols in the CAPI header and transport shims should have the ABI version in the symbol names.
      • We should provide export macros with the appropriate visibility expansions, and build the libraries with hidden visibility.
      • The two libraries should have SONAME and or install_name set with version info appropriately interpolated.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: