"linker command fail" in MacOS 12.5

or something like

$ g++ `pkg-config opencv --cflags --libs` main.cpp -o your_program