zenohd
's directory is the last searched path for plugin loading
#1236
Labels
bug
Something isn't working
Describe the bug
/example/path/to/zenohd
searches for plugins in the following order:$PWD
$HOME/.zenoh/lib
/opt/homebrew/lib
/usr/local/lib
/usr/lib
/example/path/to
This is because the search path
Vec
is ordered from first to last searched path, but (6) is inserted at the end here:zenoh/commons/zenoh-util/src/lib_loader.rs
Lines 73 to 87 in 9e1c4a8
To reproduce
touch libzenoh_plugin_rest.dylib
cargo run --bin zenohd
System info
The text was updated successfully, but these errors were encountered: