Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
Jetson Orin Nano 8GB • DeepStream Version
7.1 • JetPack Version (valid for Jetson only)
6.1 • TensorRT Version
10.3 • Issue Type
Error: gst-library-error-quark: Could not initialize supporting library. (3): /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmsgbroker/gstnvmsgbroker.cpp(401): legacy_gst_nvmsgbroker_start (): /GstPipeline:pipeline0/GstNvMsgBroker:nvmsg-broker:
unable to open shared library
• How to reproduce the issue ?
After a fresh install of JetPack 6.1 with DeepStream 7.1, I simply followed all the instructions to run the deepstream-test4 with mqtt. I installed the required dependencies, (both in the README.md in that folder, and the ones in /opt/nvidia/deepstream/deepstream-7.1/sources/libs/mqtt_protocol_adaptor/README.md)
can you find in libnvds_mqtt_proto.so in /opt/nvidia/deepstream/deepstream/lib/libnvds_mqtt_proto.so? if so, can you share the result of “ldd /opt/nvidia/deepstream/deepstream/lib/libnvds_mqtt_proto.so”?
concept@ubuntu:/opt/nvidia/deepstream/deepstream-7.1/sources/deepstream_python_apps/apps/deepstream-test4$ ls /opt/nvidia/deepstream/deepstream/lib/libnvds_mqtt_proto.so
/opt/nvidia/deepstream/deepstream/lib/libnvds_mqtt_proto.so
In DS7.1, nvmsgbroker plugin and low-level lib are openosurce. from the error “unable to open shared library”, it is because dlopen libnvds_mqtt_proto.so failed. you can find the code in legacy_gst_nvmsgbroker_start of opt\nvidia\deepstream\deepstream-7.1\sources\gst-plugins\gst-nvmsgbroker\gstnvmsgbroker.cpp. but from the ldd result, seems the dependency has be installed.
I suggest using the test tool of low-level lib to narrow down this issue. the path is /opt/nvidia/deepstream/deepstream/sources/libs/mqtt_protocol_adaptor. please refer to the README under the path. especially modify test_mqtt_proto_async.cpp to use your conn-str and topics.