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

CAPI library should be ABI ready

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.0, 4.1.1
    • Build
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              andrew.morrow@mongodb.com Andrew Morrow
              andrew.morrow@mongodb.com Andrew Morrow
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: