[CDRIVER-3452] zstd not listed as a dependency for static libmongoc Created: 05/Dec/19 Updated: 28/Oct/23 Resolved: 09/Dec/19 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | cmake, libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.16.0, 1.15.3 |
| 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 |
|
If libzstd is found when configuring with cmake, libmongoc links against it and enables zstandard compression. However, it does not list libzstd as an explicit library to link against for libmongoc static in either the package config file or cmake file. This results in consumers of static libmongoc getting linker errors for unresolved symbols to ZSTD functions. |
| Comments |
| Comment by Githook User [ 09/Dec/19 ] |
|
Author: {'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}Message: libzstd was not listed as a library dependency for Also enable zstd tests on macOS, disable on Ubuntu |
| Comment by Githook User [ 09/Dec/19 ] |
|
Author: {'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}Message: libzstd was not listed as a library dependency for Also enable zstd tests on macOS, disable on Ubuntu |