Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major - P3
-
None
-
None
-
CentOS6.6, gcc4.9.2
*Location*: https://docs.mongodb.org/getting-started/cpp/client/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
*Referrer*: https://docs.mongodb.org/getting-started/cpp/
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: client
CentOS6.6, gcc4.9.2 *Location*: https://docs.mongodb.org/getting-started/cpp/client/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 *Referrer*: https://docs.mongodb.org/getting-started/cpp/ *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: client
Description
Hi,
I build mongo-cxx-driver refer to https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-(New-Driver), but error occurred that couldn't find 'libmongoc-1.0',
in detail:
[root@localhost build]# cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
– checking for module 'libmongoc-1.0'
– package 'libmongoc-1.0' not found
CMake Error at /usr/local/share/cmake-3.3/Modules/FindPkgConfig.cmake:340 (message):
A required package was not found
Call Stack (most recent call first):
/usr/local/share/cmake-3.3/Modules/FindPkgConfig.cmake:502 (_pkg_check_modules_internal)
src/mongocxx/CMakeLists.txt:17 (pkg_check_modules)
– Configuring incomplete, errors occurred!
See also "/home/fish/Software/mongo-cxx-driver/build/CMakeFiles/CMakeOutput.log".