[SERVER-9221] C++ driver's shared library build is broken Created: 03/Apr/13 Updated: 10/Dec/14 Resolved: 17/May/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client |
| Affects Version/s: | 2.4.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dmitry Konishchev | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | build, driver | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | Linux | ||||||||
| Participants: | |||||||||
| Description |
|
Scons fails to build the C++ driver's shared library with `scons install --sharedclient --full` with lots of link errors. |
| Comments |
| Comment by Dmitry Konishchev [ 15/Apr/13 ] | |
|
I've merged the Christoph's pull request (https://github.com/mongodb/mongo/pull/413) into mine (https://github.com/mongodb/mongo/pull/406), so https://github.com/mongodb/mongo/pull/406 now contains the all fixes. | |
| Comment by Christoph Koke [ 14/Apr/13 ] | |
|
I can to confirm this. When trying to get a shared library, I got link errors mostly reagarding mongo::LocksType and gsasl. I also created a pull request (https://github.com/mongodb/mongo/pull/413). I post mine too because the one of Dmitry seems not to fix the gsasl linking errors I had. Further I could solve the mongo linkage errors by removing some the troublesome cpp files from the client lib. Since they are obviously unneeded I think this is better than adding more cpp files. I did build mongo using.
| |
| Comment by Dmitry Konishchev [ 03/Apr/13 ] | |
|
I've fixed this bug with the following PR - https://github.com/mongodb/mongo/pull/406 |