DeepStream SDK FAQ

34.[DS6.4_GLib2.0] How to update the GLib 2.0 manually for DS 6.4
As the Note in Quickstart Guide, there is a bug in glib 2.0-2.72 version which comes with ubuntu22.04 by default. If you want to update yourself, you can follow the following methods.
34.1 Install dependencies

apt-get update && apt-get install -y \
    pkg-config \
    python3-dev \
    libffi-dev \
    libmount-dev \
    ninja-build \
    wget \

pip3 install packaging
pip3 install meson==1.2.0

34.2 get the GLib 2.0 source code and install
Note: If you are using python, it is recommended to install version 2.79 or later. It will install the corresponding gobject-instropection together.

tar -xzvf 2.79.1.tar.gz
cd glib-2.79.1/
rm -r subprojects/gvdb
meson _build
ninja -C _build
ninja -C _build install

34.3 tell the system load shared libraries in new locations


If that doesn’t work, try export LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu/

34.4 run the test demo (143 Bytes)
Note: First you need to set the GI_TYPELIB_PATH variables to the the gobject-instropection you just installed.

export GI_TYPELIB_PATH=/usr/local/lib/x86_64-linux-gnu/girepository-1.0