[DOCS-5746] Comment on: "primer/client.txt" Created: 30/Jun/15  Updated: 03/Nov/17  Resolved: 07/Jul/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Participants:
Days since reply: 8 years, 32 weeks, 2 days ago

 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".



 Comments   
Comment by Kay Kim (Inactive) [ 07/Jul/15 ]

Emailed the reporter since following the instructions (building C driver first, and then the C++ driver), could not reproduce the error.

Generated at Thu Feb 08 07:50:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.