Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-828

Requires.private field occurs twice in....

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Hello, folks!

      I'm using pkg-config from C++ 11 driver and got this errors from cmake and pkg-config tool:
      Requires.private field occurs twice in '/opt/fastnetmon/libraries/mongo_cxx_3_0_0_rc0/lib/pkgconfig/libmongocxx.pc'
      Requires.private field occurs twice in '/opt/fastnetmon/libraries/mongo_cxx_3_0_0_rc0/lib/pkgconfig/libmongocxx.pc'
      Requires.private field occurs twice in '/opt/fastnetmon/libraries/mongo_cxx_3_0_0_rc0/lib/pkgconfig/libmongocxx.pc'
      Requires.private field occurs twice in '/opt/fastnetmon/libraries/mongo_cxx_3_0_0_rc0/lib/pkgconfig/libmongocxx.pc'
      Requires.private field occurs twice in '/opt/fastnetmon/libraries/mongo_cxx_3_0_0_rc0/lib/pkgconfig/libmongocxx.pc'
      Requires.private field occurs twice in '/opt/fastnetmon/libraries/mongo_cxx_3_0_0_rc0/lib/pkgconfig/libmongocxx.pc'
      Requires.private field occurs twice in '/opt/fastnetmon/libraries/mongo_cxx_3_0_0_rc0/lib/pkgconfig/libmongocxx.pc'
      Requires.private field occurs twice in '/opt/fastnetmon/libraries/mongo_cxx_3_0_0_rc0/lib/pkgconfig/libmongocxx.pc'
      Requires.private field occurs twice in '/opt/fastnetmon/libraries/mongo_cxx_3_0_0_rc0/lib/pkgconfig/libmongocxx.pc'

      So you definitely has an issue here:
      cat /opt/fastnetmon/libraries/mongo_cxx_3_0_0_rc0/lib/pkgconfig/libmongocxx.pc
      Requires.private: libbson-1.0
      Requires.private: libmongoc-1.0

      But pkg-config documentation (http://people.freedesktop.org/~dbn/pkg-config-guide.html) speaking about another approach for multiple required modules:
      Requires.private: libbson-1.0, libmongoc-1.0

      Could you fix this?

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            pavel.odintsov Pavel Odintsov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: