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
Install (ubuntu) fail (cargo install sonic-server) #140
Comments
Did you install libc-dev? |
And also build-essential |
Yes, but libc6-dev, see: ubuntu@ip-10-0-5-62:~$ sudo apt-get install libc-dev ubuntu@ip-10-0-5-62:~$ sudo apt-get install build-essential |
Can you try building it on Debian then? |
I do not have Debian box! |
Can you try installing the following packages:
And try again building Sonic? |
I cannot guarantee Sonic builds w/o those packages required by |
After install
Success! ubuntu@ip-10-0-5-62:~$ cargo install sonic-server ubuntu@ip-10-0-5-62:~$ ls /home/ubuntu/.cargo/bin/ thanks |
Perfect! |
ubuntu@ip-10-0-5-62:~$ cargo install sonic-server
Compiling librocksdb-sys v5.18.3
error: failed to compile
sonic-server v1.2.0
, intermediate artifacts can be found at/tmp/cargo-installA6m7Zx
Caused by:
failed to run custom build command for
librocksdb-sys v5.18.3
process didn't exit successfully:
/tmp/cargo-installA6m7Zx/release/build/librocksdb-sys-c9acc21d627f997d/build-script-build
(exit code: 101)--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=rocksdb/
cargo:rerun-if-changed=snappy/
cargo:rerun-if-changed=lz4/
cargo:rerun-if-changed=zstd/
cargo:rerun-if-changed=zlib/
cargo:rerun-if-changed=bzip2/
--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-.so', 'libclang.so.'], set the
LIBCLANG_PATH
environment variable to a path where one of these files can be found (invalid: [])"', src/libcore/result.rs:997:5note: Run with
RUST_BACKTRACE=1
environment variable to display a backtrace.The text was updated successfully, but these errors were encountered: