Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.4.0 release breaks the legacy provider #257

Closed
jszwedko opened this issue Nov 1, 2024 · 4 comments · Fixed by #259
Closed

3.4.0 release breaks the legacy provider #257

jszwedko opened this issue Nov 1, 2024 · 4 comments · Fixed by #259

Comments

@jszwedko
Copy link

jszwedko commented Nov 1, 2024

We ran into this error over when updating OpenSSL in Vector: vectordotdev/vector#21587

thread 'tls::settings::test::from_options_pkcs12' panicked at lib/vector-core/src/tls/settings.rs:682:85:
called `Result::unwrap()` on an `Err` value: ErrorStack([Error { code: 310378599, library: "DSO support routines", function: "dlfcn_load", reason: "could not load the shared library", file: "crypto/dso/dso_dlfcn.c", line: 118, data: "filename(/home/runner/work/vector/vector/target/debug/build/openssl-sys-7970cd031f6a569d/out/openssl-build/install/lib/ossl-modules/legacy.so): /home/runner/work/vector/vector/target/debug/build/openssl-sys-7970cd031f6a569d/out/openssl-build/install/lib/ossl-modules/legacy.so: cannot open shared object file: No such file or directory" }, Error { code: 310378599, library: "DSO support routines", function: "DSO_load", reason: "could not load the shared library", file: "crypto/dso/dso_lib.c", line: 147 }, Error { code: 126353445, library: "common libcrypto routines", function: "provider_init", file: "crypto/provider_core.c", line: 950, data: "name=legacy" }])
stack backtrace:
   0:     0x564eac5a8cd5 - std::backtrace_rs::backtrace::libunwind::trace::h649ab3318d3445c5

Ref: #255 (comment)

@jszwedko
Copy link
Author

Small bump on this. It is currently blocking us from upgrading in Vector. Are there any workarounds we could use?

@sfackler
Copy link
Collaborator

Turns out to be a simple fix, but one of those situations where I have no idea how this ever worked in the first place...

@tofay
Copy link

tofay commented Nov 16, 2024

I was git bisecting openssl for a root cause... turns out ed9cd63 regressed this.

When building without "dso", as openssl-src-rs previously did, liblegacy.a is included in libcrypto.a.

@jszwedko
Copy link
Author

Thanks @alexcrichton 🙇 I can confirm that it fixed the issue for Vector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants