3 Star 3 Fork 1

Gitee 极速下载/MongoDB-C-Driver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/mongodb/mongo-c-driver
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

mongo-c-driver

About

mongo-c-driver is a project that includes two libraries:

  • libmongoc, a client library written in C for MongoDB.
  • libbson, a library providing useful routines related to building, parsing, and iterating BSON documents.

If libmongoc is not needed, it is possible to build and install only libbson.

This project uses Semantic Versioning.

Documentation / Support / Feedback

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.

Bugs / Feature Requests

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.

How To Ask For Help

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:

  • The version of the driver you are trying to build (branch or tag).
    • Examples: r1.17 (branch), 1.9.5 (tag)
  • Host OS, version, and architecture.
    • Examples: Windows 10 64-bit x86, Ubuntu 16.04 64-bit x86, macOS 11.0
  • C Compiler and version.
    • Examples: GCC 7.3.0, Visual Studio Community 2017, clang 3.9, XCode 9.3
  • Run CMake with --log-level=debug and --log-context for more verbose output.
  • The output of any cmake, make, or other commands executed during the build.
  • The text of the error you encountered.

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 found

Can you tell me what I need to install? Thanks!

Security Vulnerabilities

If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here.

Installation

Detailed installation instructions are in the manual: https://www.mongodb.com/docs/languages/c/c-driver/current/libmongoc/tutorials/obtaining-libraries/

Resources

空文件

简介

mongo-c-driver 是 MongoDB 官方的 C 语言客户端开发包 展开 收起
README
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/MongoDB-C-Driver.git
git@gitee.com:mirrors/MongoDB-C-Driver.git
mirrors
MongoDB-C-Driver
MongoDB-C-Driver
master

搜索帮助