Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791523 - 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
Summary: www-client/firefox-78.10.1: rustup: error while loading shared libraries: lib...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-22 17:50 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2023-07-05 07:46 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,20.17 KB, application/x-info)
2021-05-22 17:50 UTC, Sergey 'L29Ah' Alirzaev
Details
build log (build.log,32.19 KB, text/x-log)
2021-05-22 17:51 UTC, Sergey 'L29Ah' Alirzaev
Details

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