zstd not listed as a dependency for static libmongoc

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.16.0, 1.15.3
    • Affects Version/s: None
    • Component/s: cmake, libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If libzstd is found when configuring with cmake, libmongoc links against it and enables zstandard compression. However, it does not list libzstd as an explicit library to link against for libmongoc static in either the package config file or cmake file. This results in consumers of static libmongoc getting linker errors for unresolved symbols to ZSTD functions.

      Example: https://evergreen.mongodb.com/task/mongo_c_driver_releng_link_with_cmake_mac_25494023026066a58cde196fac84b2138eae8fac_19_11_23_03_39_21

            Assignee:
            Kevin Albertson
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: