building OpenCV on Ubuntu (Undefined reference to `g_memdup2’)
How would you safely go about what appears to be an outdated (or too new) version of libpangosft on Ubuntu, when building OpenCV from source on Ubuntu 22.04? [ 18%] Linking CXX executable ../../bin/opencv_test_core /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `g_memdup2'…