[SERVER-37170] mongos fails to start with error 'DuplicateKey SetWiredTigerCustomizationHooks' on dynamic builds Created: 17/Sep/18  Updated: 29/Oct/23  Resolved: 21/Sep/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.3, 4.1.4

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-37195 mongos compile with dynamic linking f... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Platforms 2018-09-24
Participants:

 Description   

When compiling mongos with --link-model=dynamic, running the binary results in the following error:

Attempt to add global initializer failed, status: DuplicateKey SetWiredTigerCustomizationHooks
[1]    5338 abort (core dumped)  ./mongos



 Comments   
Comment by Githook User [ 22/Sep/18 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-37170 Dont let shared archives become reverse edges for programs

(cherry picked from commit 92b9046433bf8a50dae15f733485adb859d7ed72)
Branch: v4.0
https://github.com/mongodb/mongo/commit/9520e48a00ca6243d33310222df7787047f1b94f

Comment by Githook User [ 21/Sep/18 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-37170 Dont let shared archives become reverse edges for programs
Branch: master
https://github.com/mongodb/mongo/commit/92b9046433bf8a50dae15f733485adb859d7ed72

Generated at Thu Feb 08 04:45:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.