You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I'm working on a Rust project that uses librocksdb-sys as a dependency and I'm unable to build the package when working inside a devbox shell though I can build it outside.
Steps to reproduce
Get a Rust project with librocksdb-sys as a dependency
thread 'main' panicked at /home/emlautarom1/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.65.1/lib.rs:603:31:
Unable to find libclang: "the `libclang` shared library at /usr/lib64/libclang.so.17.0.6 could not be opened: libLLVM-17.so: cannot open shared object file: No such file or directory"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
Note that /usr/lib64/libclang.so.17.0.6 exists and it's a proper shared object. The issue seems to be when trying to use it from the devbox shell. What I don't understand is why is it picking up the native one instead of the one stored in the Nix store.
What happened?
Currently I'm working on a Rust project that uses
librocksdb-sys
as a dependency and I'm unable to build the package when working inside adevbox shell
though I can build it outside.Steps to reproduce
librocksdb-sys
as a dependency[email protected]
and[email protected]
to yourdevbox.json
filecargo build
Command
No response
devbox.json
Devbox version
0.10.7
Nix version
nix (Nix) 2.18.1
What system does this bug occur on?
Linux (x86-64)
Debug logs
Relevant parts only:
The text was updated successfully, but these errors were encountered: