Rust bug: cargo
replaces $LD_LIBRARY_PATH
rather than adding to it
#25
Labels
wontfix
This will not be worked on
Just documenting this workaround here, in case anyone else runs into it.
Rust's
cargo
build tool changes some environmental variables for the binaries and libraries it builds. Unfortunately, it doesn't handle$LD_LIBRARY_PATH
correctly.As a workaround, set
$PRE_CARGO_LD_LIBRARY_PATH
, and use thebuild.rs
script in this branch to overwrite the value of$LD_LIBRARY_PATH
:https://github.com/worldcoin/gpu-iris-mpc/tree/custom-ld-library-path
There's some more background in the open feature request here:
rust-lang/cargo#4895 (comment)
The text was updated successfully, but these errors were encountered: