[SERVER-67244] install-unittests undefined ReadPreferenceSetting Created: 13/Jun/22  Updated: 27/Oct/23  Resolved: 27/Oct/23

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

Type: Bug Priority: Major - P3
Reporter: Daniel Moody Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Operating System: ALL
Steps To Reproduce:

build install-unittests
run mongod, see error
build install-all-meta
run mongod, error is gone

Participants:

 Description   

see an issue with master, when building the target install-unittests then trying to run mongod binary, I get

build/opt/install/bin/mongod: symbol lookup error: /work/mongo/build/opt/install/bin/../lib/../lib/../lib/libauthmongod.so: undefined symbol: _ZN5mongo12DBClientBase4findENS_18FindCommandRequestERKNS_21ReadPreferenceSettingESt8functionIFvRKNS_7BSONObjEEE

Then if I build install-all-meta and rerun the mongod binary, the missing symbol is found



 Comments   
Comment by Andrew Morrow (Inactive) [ 26/Sep/22 ]

I think this should probably be closed. If you have made source edits, then built install-unittests, then any already installed mongod may no longer be valid to run without first running install-mongod, since libraries used by mongod but not by unit tests that were rendered out of date by the edits will not have been rebuilt and re-installed.

Generated at Thu Feb 08 06:07:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.