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

[oxigraph_server] Add rocks db? #4094

Conversation

jeremiahpslewis
Copy link
Contributor

No description provided.

@jeremiahpslewis
Copy link
Contributor Author

I've tried a few different env vars to try and point it to clang, but cannot resolve the error:

[03:27:54]   thread 'main' panicked at 'Unable to find libclang: "the `libclang` shared library at /opt/x86_64-linux-musl/lib/libclang.so.12 could not be opened: Dynamic loading not supported"', /opt/x86_64-linux-musl/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/bindgen-0.57.0/src/lib.rs:1975:31

@jeremiahpslewis
Copy link
Contributor Author

@giordano Hope it is ok to ping you, I've tried every incantation I can come up with, but it doesn't want to use the libclang Yggdrasil provides and would be grateful for your feedback / a nudge in the right direction. :)

@giordano
Copy link
Member

Do you really want to depend on Clang_jll? It's a massive complication, you'd need to do different builds for each Julia version.

@jeremiahpslewis
Copy link
Contributor Author

jeremiahpslewis commented Dec 21, 2021

If I can find a way to not need Clang_jll, then I'm all for it. It seems like the root cause of the issue is rust-lang/rust-bindgen requiring clang at compile time. It seems like BinaryBuilder should support this, but maybe I'm missing something.

@jeremiahpslewis jeremiahpslewis marked this pull request as draft January 14, 2022 12:09
@jeremiahpslewis
Copy link
Contributor Author

@giordano Do you have a guess as to whether this is fundamentally hopeless (because clang-sys is incompatible with BinaryBuilder / other rust idiosyncrasies or whether there's a route that I'm failing to see and could explore?

It seems weird that rocksdb wouldn't be buildable by BinaryBuilder, but perhaps I should go a step back and try and build rocksdb separately?

@giordano
Copy link
Member

Yeah, the error

[15:38:58]   thread 'main' panicked at 'Unable to find libclang: "the `libclang` shared library at /workspace/destdir/lib/libclang.so.13.0.0jl could not be opened: Dynamic loading not supported"', /opt/x86_64-linux-musl/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/bindgen-0.57.0/src/lib.rs:1975:31
[15:38:58]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

doesn't look like this is going to work. Not this way at least, I don't think we build static libraries for Clang

@jeremiahpslewis
Copy link
Contributor Author

Thanks

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

Successfully merging this pull request may close these issues.

2 participants