[Solve deepstream error] deepstream-app: error while loading shared libraries: libgstrtspserver-1.0.so.0

I get an error when using deepstream-app --version-allview deepstreamversion number:

deepstream-app: error while loading shared libraries:
libgstrtspserver-1.0.so.0: cannot open shared object file: No such
file or directory

insert image description here

Solution:

This error is usually caused by the required shared library file libgstrtspserver-1.0.so.0 not being found in the system. There are several ways you can try to resolve this issue:

1. Confirm whether the library file has been installed:

Use the following command to check whether the library file is installed in the system:

ldconfig -p | grep libgstrtspserver-1.0.so.0

If the output is empty, it means that the library file is not installed.

2. Install the missing library files:

If the library file is not installed, you can try to install it through the package manager. For example, on an Ubuntu system, you can install the library with the following command:

sudo apt-get install libgstrtspserver-1.0-0

3. Add the library file path:

If the library is installed but still cannot be found, you may need to add its path to your system path. You can add the library file path to LD_LIBRARY_PATH with the following command:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/lib

where /path/to/libis the path where the library file is located. Make sure to replace with the correct path.

The above method should solve the problem.

If the problem persists, please try to recompile deepstream-app and make sure the dependent libraries are installed correctly.

insert image description here

Guess you like

Origin blog.csdn.net/weixin_45921929/article/details/130741029