Cannot open libcudla.so.1 when running deepstream-app

• Hardware Platform Jetson Orin
• DeepStream Version 6.3
• JetPack Version 5.1
• TensorRT Version 5.1

I’m configuring Jetson and although installation of TensorRT and DeepStream show no errors I get this error when trying to run test example:

deepstream-app: error while loading shared libraries: libcudla.so.1: cannot open shared object file: No such file or directory

Same error occurs when I try running trtexec. libcuda is installed, but not libcudla, output of ls -ll /usr/local/cuda/lib64/libcudla* command:

ls: cannot access ‘/usr/local/cuda/lib64/libcudla*’: No such file or directory

Is there some prerequisite I didn’t install?

I think this is because jetpack is not installed correctly, cuda is part of jetpack.

You can try to re-burn using nvsdkmanger.

You can try to re-burn using nvsdkmanger.

If I understood you correctly, you are suggesting that I reinstall entire OS on Jetson?

The problem is, I remotely access Jetson through TeamViewer, is there any other way to install missing libraries?

I am not sure your version of l4t, you can try the following command line.if it does not work, reinstall entire OS is necessary.

sudo apt update
sudo apt install nvidia-jetpack

For more information on installing Jetpack, click here

1 Like

Installing nvidia-jetpack installed libcudla.so.1, thanks.

However, when I try running examples, I get this:

GST_DEBUG=3 deepstream-app -c /opt/nvidia/deepstream/deepstream-6.3/samples/configs/deepstream-app/source30_1080p_dec_infer-resnet_tiled_display_int8.txt
0:00:00.054712293 10065 0xaaaacf609090 WARN GST_ELEMENT_FACTORY gstelementfactory.c:458:gst_element_factory_make: no such element factory “nvdsosd”!
** ERROR: <create_osd_bin:62>: Failed to create ‘nvosd0’
** ERROR: <create_osd_bin:101>: create_osd_bin failed
** ERROR: <create_processing_instance:956>: create_processing_instance failed
** ERROR: <create_pipeline:1576>: create_pipeline failed
** ERROR: main:697: Failed to create pipeline
Quitting
nvstreammux: Successfully handled EOS for source_id=0
nvstreammux: Successfully handled EOS for source_id=1
nvstreammux: Successfully handled EOS for source_id=2
nvstreammux: Successfully handled EOS for source_id=3
nvstreammux: Successfully handled EOS for source_id=4
nvstreammux: Successfully handled EOS for source_id=5
nvstreammux: Successfully handled EOS for source_id=6
nvstreammux: Successfully handled EOS for source_id=7
nvstreammux: Successfully handled EOS for source_id=8
nvstreammux: Successfully handled EOS for source_id=9
nvstreammux: Successfully handled EOS for source_id=10
nvstreammux: Successfully handled EOS for source_id=11
nvstreammux: Successfully handled EOS for source_id=12
nvstreammux: Successfully handled EOS for source_id=13
nvstreammux: Successfully handled EOS for source_id=14
nvstreammux: Successfully handled EOS for source_id=15
nvstreammux: Successfully handled EOS for source_id=16
nvstreammux: Successfully handled EOS for source_id=17
nvstreammux: Successfully handled EOS for source_id=18
nvstreammux: Successfully handled EOS for source_id=19
nvstreammux: Successfully handled EOS for source_id=20
nvstreammux: Successfully handled EOS for source_id=21
nvstreammux: Successfully handled EOS for source_id=22
nvstreammux: Successfully handled EOS for source_id=23
nvstreammux: Successfully handled EOS for source_id=24
nvstreammux: Successfully handled EOS for source_id=25
nvstreammux: Successfully handled EOS for source_id=26
nvstreammux: Successfully handled EOS for source_id=27
nvstreammux: Successfully handled EOS for source_id=28
nvstreammux: Successfully handled EOS for source_id=29
App run failed

It seems that nvosd, nvdsosd and nvinfer are not installed at all:

gst-inspect-1.0 nvosd
No such element or plugin ‘nvosd’

gst-inspect-1.0 nvdsosd
No such element or plugin ‘nvdsosd’

gst-inspect-1.0 nvinfer
No such element or plugin ‘nvinfer’

deepstream-app --version
deepstream-app version 6.3.0
DeepStreamSDK 6.3.0

jtop output:

jtop

It may be that the older jetpack version installed previously caused some plugins to not run properly.

gst-inspect-1.0 -b can see whether they are in the blacklist.

Run the install.sh script in the /opt/nvidia/deepstream/deepstream directory, clearing the cache should solve this problem.

1 Like

After running install.sh script, examples work fine now, thanks.