[MONGOCRYPT-277] libmongocrypt-static pkg-config script is broken Created: 08/Sep/20  Updated: 28/Oct/23  Resolved: 01/Oct/20

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1.0-beta1

Type: Bug Priority: Major - P3
Reporter: Roberto Sanchez Assignee: Roberto Sanchez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by GODRIVER-1727 Allow static compilation when using c... Closed
Related
is related to MONGOCRYPT-278 Add sample program build to Evergreen... Closed

 Description   

Based on the build failure reported in GODRIVER-1727 and on follow-up investigation by divjot.arora and roberto.sanchez, it appears that the libmonogcrypt-static pkg-config script is broken. In particular, the investigation revealed that even when specifying the libmongocrypt-static package to pkg-config that there were numerous linker errors describing undefined references to kms_* and bson_* functions. This indicates that libs field of the libmongocrypt-static pkg-config script is missing elements.



 Comments   
Comment by Githook User [ 01/Oct/20 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: MONGOCRYPT-277 fix pkg-config scripts
Branch: master
https://github.com/mongodb/libmongocrypt/commit/c05c0ba8e2ebb9b5a811854c8d9bbafc53f1d61d

Generated at Thu Feb 08 09:08:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.