Skip to content

Conversation

@patrickfreed
Copy link
Contributor

### Step 1: Install the MongoDB C Driver
The driver wraps the MongoDB C driver, and using it requires having the C driver's two components, `libbson` and `libmongoc`, installed on your system. **The minimum required version of the C Driver is 1.15.3**.
### Step 1: Install required system libraries (Linux Only)
The driver vendors and wraps the MongoDB C driver (`libmongoc`), which depends on a number of external C libraries when built in Linux environments. As a result, these libraries must be installed on your system in order to build MongoSwift.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to just keep relying on libmongoc's instructions so that we don't have to update this all the time. The one caveat with that is that it includes cmake as a dependency, which isn't necessary for us. That doesn't seem like too big of a deal to me though.


### Step 1: Install the MongoDB C Driver
The driver wraps the MongoDB C driver, and using it requires having the C driver's two components, `libbson` and `libmongoc`, installed on your system. **The minimum required version of the C Driver is 1.15.3**.
### Step 1: Install required system libraries (Linux Only)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libmongoc only lists dependencies for linux, since I think the tls stuff is built into SecureTransport and macos appears to ship with sasl2.

@patrickfreed patrickfreed changed the title SWIFT-696 Remove libmongoc installation instructions from readme and examples SWIFT-696 Update installation instructions to mention required system libraries Feb 14, 2020
Copy link
Contributor

@kmahar kmahar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but instead of merging this into master can you merge it into 1.0.0-rc-changes? and then just before the release we can merge that branch into master

@patrickfreed patrickfreed changed the base branch from master to 1.0.0-rc-changes February 18, 2020 16:21
@patrickfreed patrickfreed merged commit be00ea0 into 1.0.0-rc-changes Feb 18, 2020
@patrickfreed patrickfreed deleted the SWIFT-696/required-c-libraries branch February 18, 2020 16:21
kmahar pushed a commit that referenced this pull request Feb 20, 2020
kmahar pushed a commit that referenced this pull request Feb 21, 2020
kmahar pushed a commit that referenced this pull request Feb 26, 2020
kmahar pushed a commit that referenced this pull request Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants