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

Doesn't build on Ubuntu 24 (amd64) or FreeBSD 14 (aarch64) #630

Open
mytratom opened this issue Oct 16, 2024 · 0 comments
Open

Doesn't build on Ubuntu 24 (amd64) or FreeBSD 14 (aarch64) #630

mytratom opened this issue Oct 16, 2024 · 0 comments

Comments

@mytratom
Copy link

mytratom commented Oct 16, 2024

I'm trying to build the agent and I am getting an error related to clang libraries.
The libraries are installed and setting a clang path doesn't allow the build to proceed.

printenv |grep -i clang
LIBCLANG_PATH=/usr/lib/x86_64-linux-gnu/

This is set in both csh and bash, behavior doesn't change.

--- the error ---

error: failed to run custom build command for librocksdb-sys v0.11.0+8.1.1

Caused by:
process didn't exit successfully: /home/tom/logdna-agent-v2/target/debug/build/librocksdb-sys-e600b512b3600838/build-script-build (exit status: 101)
--- stderr
thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.65.1/lib.rs:603:31:
Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-.so', 'libclang.so.', 'libclang-.so.'], set the LIBCLANG_PATH environment variable to a path where one of these files can be found (invalid: [])"
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

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

1 participant