-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Unable to find libclang #638
Labels
bug
Something isn't working
Comments
Thank you for reporting this! Indeed. That would be great to mention in the README that clang is required for building Oxigraph. My guess is that quite old Clang versions should work but I have not carefully checked what is the minimum version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When building on a system that lacks libclang, the following error is reported from
cargo build
.To Reproduce
Steps to reproduce the behavior:
cargo build
To fix
For Ubuntu 22.04.3 LTS, installing the
libclang-dev
package resolves the issue:sudo apt install libclang-dev
. This is a simple fix, but it may be worth noting in the documentation for building. In addition, if there is a dependency on a sepecific version of libclang, it might be more robust to specify that.The text was updated successfully, but these errors were encountered: