Trying to build static libraries for gstreamer and gst-plugins-rs. While running gst-inspect the plugin in looking for shared library instead of static gstreamer.
git clone --recurse-submodules https://gitlab.freedesktop.org/gstreamer/gstreamer.gitcd gstreamermeson --prefix=/opt/gstreamer ../build-gst-full-static -Ddefault_library=static -Dintrospection=disabledninja -C ../build-gst-full-staticmeson install -C ../build-gst-full-staticgit clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.gitcd gst-plugin-rscargo cbuild -p gst-plugin-webrtchttpcargo cinstall --release --prefix=/usr --libdir /opt/gstreamer/lib/x86_64-linux-gnu -p gst-plugin-webrtchttp
export LD_LIBRARY_PATH=/opt/gstreamer/lib/x86_64-linux-gnu
export GST_PLUGIN_PATH=/opt/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0
$ gst-inspect-1.0 whipsink
(gst-plugin-scanner:217643): GStreamer-WARNING **: 03:17:06.885: Failed to load plugin ‘/opt/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwebrtchttp.so’: libgstsdp-1.0.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:217643): GStreamer-WARNING **: 03:17:06.885: Failed to load plugin ‘/opt/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwebrtchttp.so’: libgstsdp-1.0.so.0: cannot open shared object file: No such file or directory
No such element or plugin ‘whipsink’