Bug#1000625: libopencv-dev: Broken pkg-config file
Adrian Bunk
bunk at debian.org
Fri Nov 26 01:34:56 GMT 2021
Package: libopencv-dev
Version: 4.5.4+dfsg-6
Severity: serious
https://buildd.debian.org/status/logs.php?pkg=mrgingham&ver=1.20-3%2Bb1
...
g++ -Wl,-z,relro -Wl,-z,now -shared -Wl,--default-symver -fPIC -Wl,-soname,libmrgingham.so.2 find_grid.o find_blobs.o find_chessboard_corners.o mrgingham.o ChESS.o -llibopencv_stitching.so.4.5.4d -llibopencv_alphamat.so.4.5.4d -llibopencv_aruco.so.4.5.4d -llibopencv_barcode.so.4.5.4d -llibopencv_bgsegm.so.4.5.4d -llibopencv_bioinspired.so.4.5.4d -llibopencv_ccalib.so.4.5.4d -llibopencv_dnn_objdetect.so.4.5.4d -llibopencv_dnn_superres.so.4.5.4d -llibopencv_dpm.so.4.5.4d -llibopencv_face.so.4.5.4d -llibopencv_freetype.so.4.5.4d -llibopencv_fuzzy.so.4.5.4d -llibopencv_hdf.so.4.5.4d -llibopencv_hfs.so.4.5.4d -llibopencv_img_hash.so.4.5.4d -llibopencv_intensity_transform.so.4.5.4d -llibopencv_line_descriptor.so.4.5.4d -llibopencv_mcc.so.4.5.4d -llibopencv_quality.so.4.5.4d -llibopencv_rapid.so.4.5.4d -llibopencv_reg.so.4.5.4d -llibopencv_rgbd.so.4.5.4d -llibopencv_saliency.so.4.5.4d -llibopencv_shape.so.4.5.4d -llibopencv_stereo.so.4.5.4d -llibopencv_structured_light.so.4.5.4d -llibopencv_phase_unwrapping.so.4.5.4d -llibopencv_superres.so.4.5.4d -llibopencv_optflow.so.4.5.4d -llibopencv_surface_matching.so.4.5.4d -llibopencv_tracking.so.4.5.4d -llibopencv_highgui.so.4.5.4d -llibopencv_datasets.so.4.5.4d -llibopencv_text.so.4.5.4d -llibopencv_plot.so.4.5.4d -llibopencv_ml.so.4.5.4d -llibopencv_videostab.so.4.5.4d -llibopencv_videoio.so.4.5.4d -llibopencv_viz.so.4.5.4d -llibopencv_wechat_qrcode.so.4.5.4d -llibopencv_ximgproc.so.4.5.4d -llibopencv_video.so.4.5.4d -llibopencv_xobjdetect.so.4.5.4d -llibopencv_objdetect.so.4.5.4d -llibopencv_calib3d.so.4.5.4d -llibopencv_imgcodecs.so.4.5.4d -llibopencv_features2d.so.4.5.4d -llibopencv_dnn.so.4.5.4d -llibopencv_flann.so.4.5.4d -llibopencv_xphoto.so.4.5.4d -llibopencv_photo.so.4.5.4d -llibopencv_imgproc.so.4.5.4d -llibopencv_core.so.4.5.4d -lpthread -o libmrgingham.so.2.1
/usr/bin/ld: cannot find -llibopencv_stitching.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_alphamat.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_aruco.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_barcode.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_bgsegm.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_bioinspired.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_ccalib.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_dnn_objdetect.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_dnn_superres.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_dpm.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_face.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_freetype.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_fuzzy.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_hdf.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_hfs.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_img_hash.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_intensity_transform.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_line_descriptor.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_mcc.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_quality.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_rapid.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_reg.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_rgbd.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_saliency.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_shape.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_stereo.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_structured_light.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_phase_unwrapping.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_superres.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_optflow.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_surface_matching.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_tracking.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_highgui.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_datasets.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_text.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_plot.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_ml.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_videostab.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_videoio.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_viz.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_wechat_qrcode.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_ximgproc.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_video.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_xobjdetect.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_objdetect.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_calib3d.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_imgcodecs.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_features2d.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_dnn.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_flann.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_xphoto.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_photo.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_imgproc.so.4.5.4d
/usr/bin/ld: cannot find -llibopencv_core.so.4.5.4d
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile.common.footer:222: libmrgingham.so.2.1] Error 1
Caused by:
$ grep ^Libs: /usr/lib/x86_64-linux-gnu/pkgconfig/opencv4.pc
Libs: -L${exec_prefix}/lib/x86_64-linux-gnu -llibopencv_stitching.so.4.5.4d -llibopencv_alphamat.so.4.5.4d -llibopencv_aruco.so.4.5.4d -llibopencv_barcode.so.4.5.4d -llibopencv_bgsegm.so.4.5.4d -llibopencv_bioinspired.so.4.5.4d -llibopencv_ccalib.so.4.5.4d -llibopencv_dnn_objdetect.so.4.5.4d -llibopencv_dnn_superres.so.4.5.4d -llibopencv_dpm.so.4.5.4d -llibopencv_face.so.4.5.4d -llibopencv_freetype.so.4.5.4d -llibopencv_fuzzy.so.4.5.4d -llibopencv_hdf.so.4.5.4d -llibopencv_hfs.so.4.5.4d -llibopencv_img_hash.so.4.5.4d -llibopencv_intensity_transform.so.4.5.4d -llibopencv_line_descriptor.so.4.5.4d -llibopencv_mcc.so.4.5.4d -llibopencv_quality.so.4.5.4d -llibopencv_rapid.so.4.5.4d -llibopencv_reg.so.4.5.4d -llibopencv_rgbd.so.4.5.4d -llibopencv_saliency.so.4.5.4d -llibopencv_shape.so.4.5.4d -llibopencv_stereo.so.4.5.4d -llibopencv_structured_light.so.4.5.4d -llibopencv_phase_unwrapping.so.4.5.4d -llibopencv_superres.so.4.5.4d -llibopencv_optflow.so.4.5.4d -llibopencv_surface_matching.so.4.5.4d -llibopencv_tracking.so.4.5.4d -llibopencv_highgui.so.4.5.4d -llibopencv_datasets.so.4.5.4d -llibopencv_text.so.4.5.4d -llibopencv_plot.so.4.5.4d -llibopencv_ml.so.4.5.4d -llibopencv_videostab.so.4.5.4d -llibopencv_videoio.so.4.5.4d -llibopencv_viz.so.4.5.4d -llibopencv_wechat_qrcode.so.4.5.4d -llibopencv_ximgproc.so.4.5.4d -llibopencv_video.so.4.5.4d -llibopencv_xobjdetect.so.4.5.4d -llibopencv_objdetect.so.4.5.4d -llibopencv_calib3d.so.4.5.4d -llibopencv_imgcodecs.so.4.5.4d -llibopencv_features2d.so.4.5.4d -llibopencv_dnn.so.4.5.4d -llibopencv_flann.so.4.5.4d -llibopencv_xphoto.so.4.5.4d -llibopencv_photo.so.4.5.4d -llibopencv_imgproc.so.4.5.4d -llibopencv_core.so.4.5.4d
$
-llibfoo is not valid, libfoo has to be linked with -lfoo.
More information about the debian-science-maintainers
mailing list