-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Dev Platform 2022-05-30, Dev Platform 2022-06-13, Dev Platform 2022-06-27
We keep getting issues related to SERVER-30955 popping up over and over again, and it's very confusing when it does because we get an unhelpful error message from the dynamic loader during startup:
The problem is due to a hard-coded limit in the MacOS dynamic loader at src/ImageLoader.cpp@87:
if ( libCount > 512 ) dyld::throwf("too many dependent dylibs in %s", path);
Since this is a hard-coded limit, we should be able to determine during build that we are about to breach it and fail with a more helpful message. After implementing, re-enable dynamic builds for OSX.
- duplicates
-
SERVER-59643 monitor Mac OS dyld limit
- Closed
- is duplicated by
-
SERVER-59643 monitor Mac OS dyld limit
- Closed
- is related to
-
SERVER-30955 dynamically linked mongod fails to start on OS X
- Closed
-
SERVER-53417 Reenable macOS dynamical builders
- Closed