[CDRIVER-3493] libmongocrypt not listed correctly as interface library for mongoc_static Created: 17/Jan/20 Updated: 28/Oct/23 Resolved: 30/Jan/20 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.16.0 |
| Fix Version/s: | 1.16.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
Currently, building and installing libmongoc results in a cmake targets file (lib/cmake/mongoc-1.0/mongoc-targets.cmake) with these lines:
The listing of mongo::mongocrypt is the cmake target name of libmongocrypt. Instead, I believe it should be the path to the libmongocrypt.dylib (or .so/.dll). As a workaround, consumers can explicitly find_package(mongocrypt) when linking to mongoc_static. |
| Comments |
| Comment by Githook User [ 03/Feb/20 ] |
|
Author: {'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}Message: libmongocrypt currently exposes some libbson symbols, causing |
| Comment by Githook User [ 30/Jan/20 ] |
|
Author: {'username': 'kevinAlbs', 'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com'}Message: |
| Comment by Githook User [ 30/Jan/20 ] |
|
Author: {'username': 'kevinAlbs', 'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com'}Message: |
| Comment by Kevin Albertson [ 30/Jan/20 ] |
|
Great, thank you! I also see my new patch builds that require 1.0.1 passing. |
| Comment by John Chen (Inactive) [ 30/Jan/20 ] |
|
Hi kevin.albertson, libmongocrypt-dev has been updated to 1.0.1-0 on our Ubuntu 1604 and 1804 boxes. |