-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
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?