Bug 1394133 - rustc: error while loading shared libraries: librustc_driver-4e7c5e5c.so
Summary: rustc: error while loading shared libraries: librustc_driver-4e7c5e5c.so
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rust
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Josh Stone
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-11 07:11 UTC by kushaldas@gmail.com
Modified: 2016-11-13 14:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-13 14:12:51 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.