-
Notifications
You must be signed in to change notification settings - Fork 785
Closed
Description
error came up using during an install, and was guided to post here
During an installation, with libclang-3.9 installed, the installer errors with libclang 3.9 or later is needed
The docs (referenced as installing-clang-39) then state It is required to use Clang 5.0 or greater ... clarification of this in the installer output would make troubleshooting a bit more straightforward.
Actual Results
thread 'main' panicked at '`libclang` function not loaded: `clang_getTranslationUnitTargetInfo`.
This crate requires that `libclang` 3.9 or later be installed on your system.
For more information on how to accomplish this, see here: https://rust-lang.github.io/rust-bindgen/requirements.html#installing-clang-39', /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/clang-sys-1.6.0/src/lib.rs:1735:1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Expected Results
Update the output to properly reference the libclang-5.0 dependency
Steps
apt-get install fuse libfuse-dev cmake clang-3.9 libclang-3.9-dev pkg-config llvm-dev
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone --recurse-submodules https://github.com/awslabs/mountpoint-s3.git
export LIBCLANG_PATH=/usr/lib/x86_64-linux-gnu/
cd mountpoint-s3; cargo build --release
resolution
apt-get install libclang-5.0-dev
azerpas
Metadata
Metadata
Assignees
Labels
No labels