mongo-c-driver is a project that includes two libraries:
If libmongoc is not needed, it is possible to build and install only libbson.
This project uses Semantic Versioning.
The documentation is available at MongoDB C Driver Docs and https://www.mongoc.org. For issues with, questions about, or feedback for libmongoc, please look into our support channels. Please do not email any of the libmongoc developers directly with issues or questions - you're more likely to get an answer on the MongoDB Community Forums or StackOverflow.
Think you’ve found a bug? Want to see a new feature in libmongoc? Please open a case in our issue management tool, JIRA:
Bug reports in JIRA for all driver projects (i.e. CDRIVER, CSHARP, JAVA) and the Core Server (i.e. SERVER) project are public.
If you are having difficulty building the driver after reading the below instructions, please post on the MongoDB Community Forums to ask for help. Please include in your post all of the following information:
r1.17
(branch), 1.9.5
(tag)--log-level=debug
and --log-context
for more verbose output.cmake
, make
, or other commands executed during the build.Failure to include the relevant information will delay a useful response. Here is a made-up example of a help request that provides the relevant information:
Hello, I'm trying to build the C driver with Kerberos support, from mongo-c-driver-1.9.5.tar.gz. I'm on Ubuntu 16.04, 64-bit Intel, with gcc 5.4.0. I run CMake like:
$ cmake . -- The C compiler identification is ;GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works ... SNIPPED OUTPUT, but when you ask for help, include full output without any omissions ... -- Searching for libsasl2 -- Not found (specify -DCMAKE_LIBRARY_PATH=/path/to/sasl/lib for SASL support) CMake Error at CMakeLists.txt:10 (_message): SASL not foundCan you tell me what I need to install? Thanks!
If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here.
Detailed installation instructions are in the manual: https://www.mongodb.com/docs/languages/c/c-driver/current/libmongoc/tutorials/obtaining-libraries/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。