Gst-launch with nvmsgbroker Issue

• Hardware Platform (Jetson / GPU) Jetson AGX Orin
• DeepStream Version 6.1
• JetPack Version (valid for Jetson only) 5.0.2
• TensorRT Version 8.4.1

When i am running the follow command of g-streamer:
gst-launch-1.0 uridecodebin uri=file:///home/deepcamera/Development/Forest_fire_and_smoke_detector/yolov7/data/test_videos/Flame2_video4.MP4 ! nvstreammux0.sink_0 nvstreammux name=nvstreammux0 width=1920 batch-size=1 height=1080 ! nvinfer model-engine-file=/home/deepcamera/Development/Forest_fire_and_smoke_detector/DeepStream-Yolo/model_b1_gpu0_fp32.engine config-file-path=/home/deepcamera/Development/Forest_fire_and_smoke_detector/DeepStream-Yolo/config_infer_primary_yoloV7.txt ! nvtracker ll-config-file=/home/deepcamera/Development/Forest_fire_and_smoke_detector/DeepStream-Yolo/tracker_config_file.txt ll-lib-file=/opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so ! tee name=tee0 ! queue ! nvvideoconvert ! nvdsosd ! nvvideoconvert ! videoconvert ! autovideosink tee0. ! queue ! nvmsgconv msg2p-lib=/opt/nvidia/deepstream/deepstream/lib/libnvds_msgconv.so config=/home/deepcamera/Development/Forest_fire_and_smoke_detector/DeepStream-Yolo/msg_conv_confi.txt comp-id=1 ! nvmsgbroker config=/home/deepcamera/Development/Forest_fire_and_smoke_detector/DeepStream-Yolo/message_config.txt proto-lib=/opt/nvidia/deepstream/deepstream-6.1/lib/libnvds_amqp_proto.so

I am getting the follow error:
Setting pipeline to PAUSED …

(gst-launch-1.0:38002): GLib-CRITICAL **: 15:22:17.583: g_strrstr: assertion ‘haystack != NULL’ failed
ERROR: Pipeline doesn’t want to pause.
ERROR: from element /GstPipeline:pipeline0/GstNvMsgBroker:nvmsgbroker0: Could not initialize supporting library.
Additional debug info:
/dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmsgbroker/gstnvmsgbroker.cpp(372): legacy_gst_nvmsgbroker_start (): /GstPipeline:pipeline0/GstNvMsgBroker:nvmsgbroker0:
unable to open shared library
Setting pipeline to NULL …
Freeing pipeline …

My mainly question is if the nvmsgbroker library is corrupted and must be reinstalled or is somewhere else the error.

  1. from the error “unable to open shared library” in gstnvmsgbroker.cpp, the app can open proto-lib=/opt/nvidia/deepstream/deepstream-6.1/lib/libnvds_amqp_proto.so, can you find it on Orin? if yes , what is the output of “ldd /opt/nvidia/deepstream/deepstream-6.1/lib/libnvds_amqp_proto.so”?
    please check if there are dependency libs, please refer to opt\nvidia\deepstream\deepstream\sources\libs\amqp_protocol_adaptor\README.

  2. gstnvmsgbroker.cpp is opensource, you can add logs to debug, the path: opt\nvidia\deepstream\deepstream\sources\gst-plugins\gst-nvmsgbroker\gstnvmsgbroker.cpp

From the “ldd /opt/nvidia/deepstream/deepstream-6.1/lib/libnvds_amqp_proto.so” command i get the follow result:

linux-vdso.so.1 (0x0000ffffba5bf000)
libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000ffffba416000)
librabbitmq.so.4 => not found
libcrypto.so.1.1 => /lib/aarch64-linux-gnu/libcrypto.so.1.1 (0x0000ffffba188000)
libnvds_logger.so => /opt/nvidia/deepstream/deepstream-6.1/lib/libnvds_logger.so (0x0000ffffba176000)
libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffffb9f91000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffffb9f60000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffffb9ded000)
/lib/ld-linux-aarch64.so.1 (0x0000ffffba58f000)
libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000ffffb9d7b000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffffb9d67000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffffb9cbc000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffffb9c98000)

Also the rabbitMQ server i have it in a different machine and i am trying to connect remotely and with a python script i see that the machine is connected successfully.

there is error “librabbitmq.so.4 => not found”, please refer to opt\nvidia\deepstream\deepstream\sources\libs\amqp_protocol_adaptor\README.

ok now works thank you

The solution was to put the rabbitMQ so file in the directory.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.