Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building for wasm32-unkown-unkown fails to find libLLVM-7.so #53849

Closed
arturoc opened this issue Aug 31, 2018 · 5 comments
Closed

Building for wasm32-unkown-unkown fails to find libLLVM-7.so #53849

arturoc opened this issue Aug 31, 2018 · 5 comments
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. O-wasm Target: WASM (WebAssembly), http://webassembly.org/

Comments

@arturoc
Copy link
Contributor

arturoc commented Aug 31, 2018

Latest nightly fails to find libLLVM-7.so when linking:

note: rust-lld: error while loading shared libraries: libLLVM-7.so: cannot open shared object file: No such file or directory

This is on ubuntu 18.04

@janhohenheim
Copy link
Contributor

janhohenheim commented Aug 31, 2018

Getting the following on MacOs:

note: dyld: Library not loaded: @rpath/libLLVM.dylib
            Referenced from: /Users/<me>/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/bin/rust-lld
            Reason: image not found

@jeremystucki
Copy link
Contributor

Same on CentOS 7.5

@csmoe csmoe added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. O-wasm Target: WASM (WebAssembly), http://webassembly.org/ labels Aug 31, 2018
@djmcgill
Copy link

It happens for thumbv6m-none-eabi too

@fbstj
Copy link
Contributor

fbstj commented Aug 31, 2018

possibly a result of #53828

@alexcrichton
Copy link
Member

Thanks for the report! This is a duplicate of #53813 and should be fixed with the next nightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. O-wasm Target: WASM (WebAssembly), http://webassembly.org/
Projects
None yet
Development

No branches or pull requests

7 participants