Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3452

zstd not listed as a dependency for static libmongoc

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.16.0, 1.15.3
    • Affects Version/s: None
    • Component/s: cmake, libmongoc
    • 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@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: