Custom OpenSSL location no longer respected in aws 1.11.x #2809
Labels
bug
This issue is a bug.
closing-soon
This issue will automatically close in 4 days unless further comments are made.
Cmake
Cmake related submissions
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
We build aws using our own openssl version compiled from source. In 1.9.x we pass the path to our openssl using these cmake variables and all is well: -DLibCrypto_INCLUDE_DIR, -DLibCrypto_LIBRARY, -DOPENSSL_ROOT_DIR
In 1.11.x this no longer works and cmake complains some of these variables are unused:
Then at runtime we get this abort():
Fatal error condition occurred in /export/moop1/users/normg/gs371/externals/aws/crt/aws-crt-cpp/crt/aws-c-io/source/s2n/s2n_tls_channel_handler.c:203: 0 && "s2n_init() failed"```
Expected Behavior
aws-sdk-cpp should fully support specifying a custom path to the openssl directory and not rely on the version installed on the host.
Current Behavior
cmake arguments specifying openssl/crypto directory are ignored. This is a regression and worked correctly in 1.9.x
LibCrypto_INCLUDE_DIR
LibCrypto_LIBRARY
Reproduction Steps
Possible Solution
Restore cmake behavior in 1.9.x that allowed custom openssl/crypto library to be specified.
Additional Information/Context
Possibly related to these issues:
#2735
#1888
AWS CPP SDK version used
1.11.237
Compiler and Version used
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Operating System and version
Unbuntu 20.04
The text was updated successfully, but these errors were encountered: