Bug 1394133

Summary: rustc: error while loading shared libraries: librustc_driver-4e7c5e5c.so
Product: [Fedora] Fedora Reporter: kushaldas@gmail.com <mail>
Component: rustAssignee: Josh Stone <jistone>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: jistone, TicoTimo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-13 14:12:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description kushaldas@gmail.com 2016-11-11 07:11:05 UTC
Description of problem:

While trying to compile a main.rs example from https://doc.rust-lang.org/book/getting-started.html#writing-and-running-a-rust-program


Version-Release number of selected component (if applicable):

rust-1.12.1-1.fc24.x86_64

How reproducible:


Steps to Reproduce:
1. rustc main.rs
2.
3.

Actual results:

$ rustc  main.rs
rustc: error while loading shared libraries: librustc_driver-4e7c5e5c.so: cannot open shared object file: No such file or directory


Expected results:

We should get the binary main, and no errors.
Additional info:

Comment 1 Josh Stone 2016-11-11 16:55:10 UTC
> librustc_driver-4e7c5e5c.so

That's very old, from Rust 1.0.0 (which never shipped in Fedora).

Do you have an old rustc in your path?  Please try with /usr/bin/rustc, and make sure "which rustc" reports the same.

Comment 2 kushaldas@gmail.com 2016-11-13 14:12:51 UTC
Oops, may be that is the issue. Closing the bug for now. Will reopen if I get this again.