[CXX-677] bsoncxx static lib wrongly called bson.a Created: 24/Sep/15  Updated: 11/Jan/16  Resolved: 24/Sep/15

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.0-rc0

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

Epic Link: C++11 Driver MongoDB 3.2

 Comments   
Comment by Andrew Morrow (Inactive) [ 24/Sep/15 ]

Merged in https://github.com/mongodb/mongo-cxx-driver/commit/4f447bcfcac0dc47f55a19f1c4b4739ea70efa57

Comment by Andrew Morrow (Inactive) [ 24/Sep/15 ]

For questions about using a driver or mongodb, head to mongodb-user: https://groups.google.com/forum/#!forum/mongodb-user
For questions about developing a driver or mognodb, try mongodb-dev: https://groups.google.com/forum/#!forum/mongodb-dev

Comment by Karolin Varner [ 24/Sep/15 ]

Btw, what's the correct place to ask generic, development related questions, like this one:

How about using shared_ptr – taken and released in client instances or optionally by the user of the lib – to manage the life cycle of mongocxx::instance?

Comment by Andrew Morrow (Inactive) [ 24/Sep/15 ]

karo - I see, thanks. It definitely looks wrong by analogy with the shared lib. Thanks for the PR! We will get it merged shortly.

Comment by Karolin Varner [ 24/Sep/15 ]

Actually this is a pull request, because remote debugging is truly excruciating The resulting library was indeed titled libbson.a

Reproduce by building with cmake (without very specific options) with the patch applied and without...

https://github.com/mongodb/mongo-cxx-driver/pull/315

Comment by Andrew Morrow (Inactive) [ 24/Sep/15 ]

Thanks for the bug report. Could you please provide the following:

  • Your CMake invocation
  • The build command you used to build the cmake generated build system (make, ninja, etc.)
  • The output of the following command run in the directory where you built: 'find . -type f | grep lib'.
Generated at Wed Feb 07 21:59:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.