Skip to content

OpenSSL bundling is interfering with native libraries to use the OS installed version #22541

Description

@pshipton

Renaming the bundled OpenSSL 3.5 to crypto-semeru (libcrypto-semeru.so) does not stop it from interfering with native libraries that use libssl / libcrypto, causing UnsatisfiedLinkErrors when trying to load the native libraries.

Possible error messages include:

/libcrypto-semeru.so: version 'OPENSSL_3.0.1' not found (required by /lib64/libssl.so.3)

cannot open shared object file: No such file or directory

There is a workaround, run with -Djdk.native.openssl.skipBundled=true to avoid loading the bundled OpenSSL 3.5 library and use a OS installed OpenSSL instead.

Ref https://github.ibm.com/runtimes/jit-crypto/issues/906

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions