Boost with libressl

52 Views Asked by At

Problem:

Boost defaults to using OpenSSL, but I need to switch to LibreSSL. I've replaced OpenSSL libraries with LibreSSL libraries, and the build succeeds. However, at runtime, I'm encountering an exception:

EXCEPTION: :context: Invalid argument [system:22] Exiting

Details:

I have successfully replaced the OpenSSL libraries with LibreSSL ones, using libraries with the same names. Despite the successful build, I'm facing this runtime exception.

Attempts to Solve:

  • Replacing OpenSSL with LibreSSL libraries.
  • Ensured correct linkage during the build process.
  • Tried various configurations while building Boost.

Question:

How can I correctly configure Boost to use LibreSSL instead of OpenSSL without encountering runtime exceptions? Any insights or solutions would be greatly appreciated. Thank you!

0

There are 0 best solutions below