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

Non informative error message when libclang is 32 bits #48

Closed
dbrodie opened this issue Feb 26, 2017 · 1 comment
Closed

Non informative error message when libclang is 32 bits #48

dbrodie opened this issue Feb 26, 2017 · 1 comment

Comments

@dbrodie
Copy link

dbrodie commented Feb 26, 2017

On fedora the load_manually function looks for clang in /usr/lib instead of /usr/lib64 which makes the ELF not load. Instead of getting the error message:
wrong ELF class: ELFCLASS32
You get the unhelpful message:
the ``libclang`` shared library could not be opened.

rustc version:
rustc 1.17.0-nightly (0f34b532a 2017-02-21) binary: rustc commit-hash: 0f34b532af590d25e9178f87c620931dd671cc2e commit-date: 2017-02-21 host: x86_64-unknown-linux-gnu release: 1.17.0-nightly LLVM version: 3.9

@dbrodie dbrodie changed the title Non informative error message when libclang is 64bits Non informative error message when libclang is 32 bits Feb 26, 2017
@KyleMayes
Copy link
Owner

v0.15.0 has been released with this fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants