[SERVER-35697] mongod and mongo fail on OSX 10.9 with "Symbol not found: _fchmodat" Created: 19/Jun/18 Updated: 27/Oct/23 Resolved: 21/Jun/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.6.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matt Arpidone | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | OSX | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OSX 10.9 |
||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Steps To Reproduce: | Run either mongod or mongo on OSX 10.9 |
||||
| Participants: | |||||
| Description |
|
I downloaded the latest community edition 3.6.5 installer from the website and tried to run mongo and mongod, but both failed with errors: Downloads$ cd mongodb-osx-x86_64-3.6.5/bin |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 21/Jun/18 ] |
|
marpidone - I'm closing this issue, because despite the error on the website, the 10.10+ requirement for v3.6 is intentional. I'm happy to help you try to build for 10.9 if you are still pursuing that approach. You can reach out on mongodb-dev and I will reply. |
| Comment by Andrew Morrow (Inactive) [ 20/Jun/18 ] |
|
If all you need is community and not enterprise, you certainly could try building from source, though of course we are no longer testing such a configuration so can't say for sure whether it works or not. No special flags should be required to try perform such a build, as long as the machine on which you build is running 10.9. If you need to build on a system newer than 10.9 but have binaries that can still run on 10.9, then there are flags you need to use. Let us know if that situation applies to you, and we can provide the required details. Another route might be to install from homebrew. Regarding the downloads page, yes, I see that it does still say 10.7+; apologies for that misleading oversight. I will reach out to the team who handles that and see about getting it updated. |
| Comment by Matt Arpidone [ 19/Jun/18 ] |
|
Ah ok, the download page still says 10.7+, and I didn't see any mention of that in the release notes. Is there any chance that building the mongo binaries myself would allow them to run on 10.9? Perhaps there's some build flag I can set? |
| Comment by Andrew Morrow (Inactive) [ 19/Jun/18 ] |
|
Unfortunately, MongoDB 3.6 requires macOS 10.10 or newer. You can however run MongoDB 3.4 on macOS 10.9. If you need to run MongoDB 3.6, you will need to upgrade. |