Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 914246

Summary: dev-util/rustup-1.25.2: Sneaky runtime dependency on OpenSSL < 3
Product: Gentoo Linux Reporter: Jan Henke <gentoo>
Component: Current packagesAssignee: Gentoo Rust Project <rust>
Status: UNCONFIRMED ---    
Severity: critical CC: matthew, rust
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 797325    

Description Jan Henke 2023-09-15 16:56:44 UTC
After updating OpenSSL to version 3.x rustup is broken with the following message:

rustup: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

It appears that rustup tries to manually load OpenSSL 1.1 on startup, which is no longer present on the system.

I have rebuild rustup after the OpenSSL update, but that does not affect the error, which indicated the library name being hardcoded in rustup.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2023-09-25 14:24:44 UTC
Does it work with dev-libs/openssl-compat:1.1.1?
Comment 2 Jan Henke 2023-09-25 16:19:13 UTC
Yes, installing openssl-compat resolved the error.

I did not know such a package exists. So it should probably a dependency for the time being, until upstream fixes the package to work with OpenSSL 3.