gst build fails to build because libgstopencv.so fails to build with opencv installed into non standard location but set from pkg-config
I’m facing a build issue with monorepo on an aarch64 platform (AGX Orin aarch64 running Ubuntu-22.04, L4T R36.3) using gstreamer 1.24.6, 1.24.7 or master pre-1.25.0 with apt purged opencv for having various versions installed into /usr/local/opencv-4.x.y and set by pkg-config and env, whereby it fails to build subprojects/gst-plugins-bad/ext/opencv/libgstopencv.so because the meson.build file adds: -lopencv_tracking
.
Simple workarounds are :
- adding
-L /usr/local/opencv-4.x.y/lib
to meson.build flags. - Just adding opencv lib path to LIBARY_PATH:
export LIBRARY_PATH=/usr/local/opencv-4.x.y/lib:$LIBRARY_PATH
- or just remove the opencv_tracking reference from meson.build as it is provided among other opencv libs and path from pkg-config.
Not sure what case this opencv_tracking reference is expected to help…
I have tried to report this issue to various gstreamer/gitlab servers to no avail…
Sorry to ask, but what would be the right address for reporting that build issue ?