[CXX-2579] Extra Steps Needed to Build on arm64 Created: 27/Sep/22 Updated: 07/Feb/24 Resolved: 28/Mar/23 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | 3.8.0 |
| Type: | Task | Priority: | Unknown |
| Reporter: | Steve Silvester | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | buildfest-2022 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | CXX-2634 | ||||||||
| Quarter: | FY24Q1 | ||||||||
| Description |
|
When building an application using CXX driver on my M1 mac, I had to repair the executables using the instructions in https://stackoverflow.com/questions/1937232/linking-to-a-dynamic-library-on-a-mac-with-full-path I am on an macOS Monterrey 12.6 M1 Max. The command I used to build was:
The repair code I ran was:
|
| Comments |
| Comment by Githook User [ 28/Mar/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
And explain rationale. This can help a consumer locate libbsoncxx.so if the consumer only links to full path of libmongocxx.so.
To prevent requiring users to have additional permissions.
Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>
The instructions are no longer platform specific. --------- Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com> |
| Comment by Kevin Albertson [ 19/Mar/23 ] |
|
Other reports referencing "cannot open shared object file" errors related to the C++ driver: https://www.mongodb.com/community/forums/t/compilation-error-for-the-c-driver-error-while-loading-shared-libraries-libmongocxx-so-noabi-cannot-open-shared-object-file-no-such-file-or-directory/12710 |