Unable to open shared library libnvds_azure_edge_proto.so

I read sources/libs/azure_protocol_adaptor/module_client/README ,and compiled the test programs.I want to run the test program and the result is an error.

@ubuntu:~/work/sources/libs/azure_protocol_adaptor/module_client$ ./test_azure_iotedge_async /opt/nvidia/deepstream/deepstream-5.0/lib/libnvds_azure_edge_proto.so
unable to open shared library

This is my /etc/iotedge/config.yaml

Manual provisioning with an IoT Hub connection string (SharedAccessKey authentication only)
provisioning:
source: “manual”
device_connection_string: "HostName=xxx.azure-devices.net;DeviceId=xxx;SharedAccessKey=xxx
dynamic_reprovisioning: false

This is my cfg_azure.txt

[message-broker]
custom_msg_properties = HostName=xxx;DeviceId=xxx;SharedAccessKey=xxx;

Ubuntu 18.04 LTS
**Processor:ARMv8 Processor rev 1 (v8l) × 4 **
Graphics:NVIDIA Tegra X1 (nvgpu)/integrated
OS type:64-bit

please refer to this topic.

Hello, I read this Post, but the link http://nvcr.io/nvidia/deepstream:6.0-iot mentioned in the answer has expired. Please provide me with a reference tutorial again.

can you find " /opt/nvidia/deepstream/deepstream-5.0/lib/libnvds_azure_edge_proto.so"?

Yes,I can.

could you share the result of “ldd /opt/nvidia/deepstream/deepstream-5.0/lib/libnvds_azure_edge_proto.so”?

/opt/nvidia/deepstream/deepstream-5.0/lib/libnvds_azure_edge_proto.so: /usr/lib/aarch64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_4’ not found (required by /opt/nvidia/deepstream/deepstream-5.0/lib/libiothub_client.so.1)
linux-vdso.so.1 (0x0000007faf553000)
/usr/lib/aarch64-linux-gnu/libgomp.so.1 (0x0000007faf4d5000)
libglib-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000007faf38f000)
libiothub_client.so.1 => /opt/nvidia/deepstream/deepstream-5.0/lib/libiothub_client.so.1 (0x0000007faf2eb000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007faf157000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007faeffe000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007faefd2000)
/lib/ld-linux-aarch64.so.1 (0x0000007faf527000)
libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007faef62000)
libcurl.so.4 => /usr/lib/aarch64-linux-gnu/libcurl.so.4 (0x0000007faeee5000)
libssl.so.1.1 => /usr/lib/aarch64-linux-gnu/libssl.so.1.1 (0x0000007faee5b000)
libcrypto.so.1.1 => /usr/lib/aarch64-linux-gnu/libcrypto.so.1.1 (0x0000007faec18000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007faeb5f000)
libuuid.so.1 => /lib/aarch64-linux-gnu/libuuid.so.1 (0x0000007faeb48000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007faeb24000)
libnghttp2.so.14 => /usr/lib/aarch64-linux-gnu/libnghttp2.so.14 (0x0000007faeaf4000)
libidn2.so.0 => /usr/lib/aarch64-linux-gnu/libidn2.so.0 (0x0000007faeac8000)
librtmp.so.1 => /usr/lib/aarch64-linux-gnu/librtmp.so.1 (0x0000007faea9e000)
libpsl.so.5 => /usr/lib/aarch64-linux-gnu/libpsl.so.5 (0x0000007faea80000)
libssl.so.1.0.0 => /usr/lib/aarch64-linux-gnu/libssl.so.1.0.0 (0x0000007faea17000)
libcrypto.so.1.0.0 => /usr/lib/aarch64-linux-gnu/libcrypto.so.1.0.0 (0x0000007fae86d000)
libgssapi_krb5.so.2 => /usr/lib/aarch64-linux-gnu/libgssapi_krb5.so.2 (0x0000007fae81c000)
libldap_r-2.4.so.2 => /usr/lib/aarch64-linux-gnu/libldap_r-2.4.so.2 (0x0000007fae7c3000)
liblber-2.4.so.2 => /usr/lib/aarch64-linux-gnu/liblber-2.4.so.2 (0x0000007fae7a6000)
libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000007fae779000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007fae764000)
libunistring.so.2 => /usr/lib/aarch64-linux-gnu/libunistring.so.2 (0x0000007fae5e1000)
libgnutls.so.30 => /usr/lib/aarch64-linux-gnu/libgnutls.so.30 (0x0000007fae482000)
libhogweed.so.4 => /usr/lib/aarch64-linux-gnu/libhogweed.so.4 (0x0000007fae440000)
libnettle.so.6 => /usr/lib/aarch64-linux-gnu/libnettle.so.6 (0x0000007fae3ff000)
libgmp.so.10 => /usr/lib/aarch64-linux-gnu/libgmp.so.10 (0x0000007fae381000)
libkrb5.so.3 => /usr/lib/aarch64-linux-gnu/libkrb5.so.3 (0x0000007fae2b2000)
libk5crypto.so.3 => /usr/lib/aarch64-linux-gnu/libk5crypto.so.3 (0x0000007fae274000)
libcom_err.so.2 => /lib/aarch64-linux-gnu/libcom_err.so.2 (0x0000007fae260000)
libkrb5support.so.0 => /usr/lib/aarch64-linux-gnu/libkrb5support.so.0 (0x0000007fae246000)
libresolv.so.2 => /lib/aarch64-linux-gnu/libresolv.so.2 (0x0000007fae221000)
libsasl2.so.2 => /usr/lib/aarch64-linux-gnu/libsasl2.so.2 (0x0000007fae1f9000)
libgssapi.so.3 => /usr/lib/aarch64-linux-gnu/libgssapi.so.3 (0x0000007fae1b1000)
libp11-kit.so.0 => /usr/lib/aarch64-linux-gnu/libp11-kit.so.0 (0x0000007fae09f000)
libtasn1.so.6 => /usr/lib/aarch64-linux-gnu/libtasn1.so.6 (0x0000007fae07e000)
libkeyutils.so.1 => /lib/aarch64-linux-gnu/libkeyutils.so.1 (0x0000007fae06a000)
libheimntlm.so.0 => /usr/lib/aarch64-linux-gnu/libheimntlm.so.0 (0x0000007fae051000)
libkrb5.so.26 => /usr/lib/aarch64-linux-gnu/libkrb5.so.26 (0x0000007fadfc5000)
libasn1.so.8 => /usr/lib/aarch64-linux-gnu/libasn1.so.8 (0x0000007fadf31000)
libhcrypto.so.4 => /usr/lib/aarch64-linux-gnu/libhcrypto.so.4 (0x0000007fadef2000)
libroken.so.18 => /usr/lib/aarch64-linux-gnu/libroken.so.18 (0x0000007fadecf000)
libffi.so.6 => /usr/lib/aarch64-linux-gnu/libffi.so.6 (0x0000007fadeb7000)
libwind.so.0 => /usr/lib/aarch64-linux-gnu/libwind.so.0 (0x0000007fade7f000)
libheimbase.so.1 => /usr/lib/aarch64-linux-gnu/libheimbase.so.1 (0x0000007fade60000)
libhx509.so.5 => /usr/lib/aarch64-linux-gnu/libhx509.so.5 (0x0000007fade0e000)
libsqlite3.so.0 => /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 (0x0000007fadd13000)
libcrypt.so.1 => /lib/aarch64-linux-gnu/libcrypt.so.1 (0x0000007fadccd000)

please fix this error first. you can google it.

I solve it.But now I face another problem.I follow this GitHub - Azure-Samples/NVIDIA-Deepstream-Azure-IoT-Edge-on-a-NVIDIA-Jetson-Nano: This is a sample showing how to do real-time video analytics with NVIDIA DeepStream connected to Azure via Azure IoT Edge. It uses a NVIDIA Jetson Nano device that can process up to 8 real-time video streams concurrently.
I can execute this command ./deepstream-test5-app -c configs/test5_config_file_src_infer_azure_iotedge_edited-Copy1.txt -p 1

But I can not monitor messages

I see my NVIDIADeepStreamSDK cannot run.
Is this why I can’t monitor messages?

seems the original issue was fixed. could you open a new topic to focus on this new issue? Thanks!

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