Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-330

pkg-config script has broken dependency

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.2.2
    • Affects Version/s: 1.2.1
    • Component/s: Build
    • Labels:
      None

      As reported in this community forum post, the libmongocrypt pkg-config script has a broken dependency. Further investigation by wan.bachtiar revealed that this problem affects libmongocrypt 1.2.1 but does not exist for 1.0.4.

      The broken dependency needs to be corrected, and the build updated to include a pkg-config invocation like this to ensure that scripts that are shipped function correctly;

      $ pkg-config --print-errors --exists libmongocrypt || echo $?
      Package libbson-static-1.0 was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libbson-static-1.0.pc'
      to the PKG_CONFIG_PATH environment variable
      Package 'libbson-static-1.0', required by 'libmongocrypt', not found
      1
      

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: