У меня arch:
/usr/bin/ld: warning: libvtkFiltersTexture.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkIOExport.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkIOGeometry.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkIOPLY.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkInteractionStyle.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkRenderingLOD.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkRenderingOpenGL2.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkRenderingFreeType.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkIOCore.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkIOImage.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkImagingCore.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkRenderingCore.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkFiltersSources.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkFiltersGeneral.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkFiltersCore.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkCommonExecutionModel.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkCommonDataModel.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkCommonTransforms.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkCommonMath.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtkCommonCore.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvtksys.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libopencv_viz.so, not found (try using -rpath or -rpath-link)