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
Attached shell shows the .so files in /root/.zenoh/lib
See the log line 2024-05-15T14:30:14.863318Z DEBUG main ThreadId(01) zenoh_util::std_only::lib_loader: Search for library libzenoh_plugin_rest.so to load in ["/", "/root/.zenoh/lib", "/usr/local/lib", "/usr/lib", "/"]
See the below response:
curl 'http://localhost:8000/@/router/local'
[
{ "key": "@/router/79887a32dad6ef34f82f4ed312390b69", "value": {"locators":["tcp/172.29.0.2:7447"],"metadata":null,"plugins":{"rest":{"path":"/libzenoh_plugin_rest.so"}},"sessions":[],"version":"v0.11.0-rc.3 built with rustc 1.72.0 (5680fa18f 2023-08-23)","zid":"79887a32dad6ef34f82f4ed312390b69"}, "encoding": "application/json", "time": "None" }
]
By default the Zenoh router will search for plugins and backends libraries to load in ~/.zenoh/lib. Thus, to make it able to find the libraries, you can copy them into a zenoh-docker/lib directory on your local host and mount the zenoh-docker directory as a volume in your container targeting /root/.zenoh.
ideally i can pass the configuration file to zenohd somehow...
Describe the bug
Zenoh router does not load plugins from /root/.zenoh/lib
/root/.zenoh/lib
2024-05-15T14:30:14.863318Z DEBUG main ThreadId(01) zenoh_util::std_only::lib_loader: Search for library libzenoh_plugin_rest.so to load in ["/", "/root/.zenoh/lib", "/usr/local/lib", "/usr/lib", "/"]
To reproduce
Created a minimum repo w/ the docker compose but should be fairly easy to test w/ a docker compose file
https://github.com/philrhc/zenoh_docker_plugins
System info
OS: Ubuntu 22.04.4 LTS
Arch: x86_64
CPU: 12th Gen Intel(R) Core(TM) i7-1265U
version:v0.11.0-rc.3 built with rustc 1.72.0 (5680fa18f 2023-08-23)
zid:79887a32dad6ef34f82f4ed312390b69
The text was updated successfully, but these errors were encountered: