Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914246 - dev-util/rustup-1.25.2: Sneaky runtime dependency on OpenSSL < 3
Summary: dev-util/rustup-1.25.2: Sneaky runtime dependency on OpenSSL < 3
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2023-09-15 16:56 UTC by Jan Henke
Modified: 2024-02-14 10:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.