[MONGOCRYPT-15] Loading libmongocrypt.dylib library from jar results in link error Created: 06/Jun/19 Updated: 27/Oct/23 Resolved: 07/Jun/19 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Client-side FLE |
| Description |
|
java.lang.UnsatisfiedLinkError: Error looking up function 'mongocrypt_setopt_kms_provider_local': dlsym(0x7fb40dcb01e0, mongocrypt_setopt_kms_provider_local): symbol not found
|
| Comments |
| Comment by Jeffrey Yemin [ 07/Jun/19 ] |
|
It's not a bug. The issue was an older version of libmongocrypt.dylib installed in /usr/local/lib, which was taking precedence over the one in the jar file. Once I deleted that everything worked fine. |