[CDRIVER-2464] Building with --enable-ssl=libressl may not link libcrypto Created: 16/Jan/18  Updated: 17/Jan/18  Resolved: 17/Jan/18

Status: Closed
Project: C Driver
Component/s: libmongoc, tls
Affects Version/s: 1.9.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to PHPC-888 Support additional TLS libraries for ... Closed

 Description   

When building with CMake, enabling LibreSSL will link both tls and crypto (see here); however, when building with Autotools, CheckSSL.m4 relies on pkg-config to return libraries to link (here).

While OpenSSL's package info reports both ssl and crypto for linking, LibreSSL's tls package only reports tls. Solving this would require also running PKG_CHECK_MODULES() for libcrypto.

I don't expect this to be resolved in light of CDRIVER-1349, but I did want to open a ticket for posterity.



 Comments   
Comment by A. Jesse Jiryu Davis [ 17/Jan/18 ]

Great sleuthing! I'll close this wontfix on the assumption that PHPC will fix it in your own config scripts.

Generated at Wed Feb 07 21:15:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.