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

Bug 791523

Summary: www-client/firefox-78.10.1: rustup: error while loading shared libraries: librustc_driver-5cd452a9ee607150.so: cannot open shared object file: No such file or directory
Product: Gentoo Linux Reporter: Sergey 'L29Ah' Alirzaev <zl29ah>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED WORKSFORME    
Severity: normal CC: O01eg
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description Sergey 'L29Ah' Alirzaev 2021-05-22 17:50:37 UTC
Created attachment 710337 [details]
emerge --info

Same for 88.0.1.

 0:05.87 DEBUG: Executing: `rustup which rustc`
 0:05.87 DEBUG: The command returned non-zero exit status 127.
 0:05.87 DEBUG: Its error output was:
 0:05.87 DEBUG: | rustup: error while loading shared libraries: librustc_driver-5cd452a9ee607150.so: cannot open shared object file: No such file or directory
 0:05.87 ERROR: Command `rustup which rustc` failed with exit status 127.
Comment 1 Sergey 'L29Ah' Alirzaev 2021-05-22 17:51:00 UTC
Created attachment 710340 [details]
build log
Comment 2 12101111 2021-05-23 17:29:46 UTC
Can you try to run `which rustc`, `which rustup`, `rustc -Vv` and `eselect rust show` and paste the output?
Comment 3 Sergey 'L29Ah' Alirzaev 2021-05-23 17:34:51 UTC
(In reply to 12101111 from comment #2)
> Can you try to run `which rustc`, `which rustup`, `rustc -Vv` and `eselect
> rust show` and paste the output?

l29ah-x201 ~ ∞ which rustc
/usr/bin/rustc
l29ah-x201 ~ ∞ which rustup
rustup not found
l29ah-x201 ~ ∞ rustc -Vv
rustc: error while loading shared libraries: librustc_driver-5cd452a9ee607150.so: cannot open shared object file: No such file or directory
l29ah-x201 ~ ∞ eselect rust show
Current Rust implementation:
  rust-1.52.1
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2021-05-23 18:48:46 UTC
Your rust installation is busted. With some luck it's just the ldcache because you switched recently (just try calling `ldconfig`). If `rustc -Vv` still does not work you will probably have to re-emerge rust.
Comment 5 Sergey 'L29Ah' Alirzaev 2021-06-07 09:33:23 UTC
(In reply to Thomas Deutschmann from comment #4)
> Your rust installation is busted. With some luck it's just the ldcache
> because you switched recently (just try calling `ldconfig`). If `rustc -Vv`
> still does not work you will probably have to re-emerge rust.

ldconfig and re-emerging rust did nothing.
Comment 6 Joonas Niilola gentoo-dev 2023-07-05 07:46:43 UTC
Most likely fixed now with newer rust/firefox versions.