Open bobby-beckmann opened 2 weeks ago
Upon further investigation, it seems that this is due to the ARM based build, not x86. libpal_azure_c_shared_openssl3.so references libssl.so.1.1 in ARM, but libssl.so.3 in x86.
:/
Thanks for reporting and investigating. @rhurey, could you help to check?
@bobby-beckmann Thanks. I think I found the source of this mistake, and how it got missed in testing.
Once I confirm it, I'll update w/ the story.
Ok, there was some unexpected (and unrelated challenges) verifing the fix.
What had happened is while building the arm64 (and only the arm64) version of the pal library there was a typo in the hint path for what OpenSSL version to target. As the name implies, the path was a hint, and the build fell back to the system version, which was 1.1.1 and not the 3.0+ that had been intended.
And then both of the arm64 machines we tested against happened to (for different reasons) had both 1.1.1 and 3.0+ installed. So while we'd validated the correct PAL module was loaded, it was linked against the wrong lib.
The fix will be in our next release.
Issue:
Can't run in bookworm. Fails to load
libssl.so.3
.Build:
python3.11-slim-bookworm
linux/arm64
Dockerfile:
OpenSSL Version Check:
I ran a small binary to dynamically load OpenSSL and display the version. It works fine:
Logs from SDK: