Bug 6800

Summary: OpenCV pkgconfig file provides wrong link arguments
Product: Mageia Reporter: Lucien XU <sfietkonstantin>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: doktor5000, fundawang
Version: CauldronKeywords: Junior_job
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: opencv-2.4.0-3.mga3.src.rpm CVE:
Status comment:

Description Lucien XU 2012-07-17 13:37:33 CEST
Description of problem:
OpenCV's opencv.pc has some wrong entries in Libs :
${exec_prefix}/lib64/libopencv_videostab.so
${exec_prefix}/lib64/libopencv_gpu.so
${exec_prefix}/lib64/libopencv_stitching.so

These libs do not exist. Maybe they were not packaged.

Version-Release number of selected component (if applicable):
opencv-devel 2.4.0-3

How reproducible:
Always

Steps to Reproduce:
1. Try to compile the samples shipped with opencv, for example by using the build_all.sh script
2. The script will complain about missing libs
Manuel Hiebel 2012-07-18 00:18:14 CEST

Keywords: (none) => Junior_job
CC: (none) => fundawang

Comment 1 Florian Hubold 2014-04-13 15:03:13 CEST
You reported this against the Mageia 3 package, but the affected version for the bug is set to Cauldron. I cannot reproduce this with Mageia 4:

[doktor5000@Mageia4 ~]$ urpmf 'libopencv_gpu.so$'
opencv-devel:/usr/lib64/libopencv_gpu.so
opencv-devel:/usr/lib/libopencv_gpu.so
[doktor5000@Mageia4 ~]$ urpmf 'libopencv_videostab.so$'
opencv-devel:/usr/lib64/libopencv_videostab.so
opencv-devel:/usr/lib/libopencv_videostab.so
[doktor5000@Mageia4 ~]$ urpmf 'libopencv_stitching.so$'
opencv-devel:/usr/lib64/libopencv_stitching.so
opencv-devel:/usr/lib/libopencv_stitching.so

And a short search shows that this is also present in Mageia 3:
http://sophie.zarb.org/search?search=libopencv_gpu.so&type=byfile&deptype=P&distribution=Mageia&release=3&arch=

Status: NEW => RESOLVED
CC: (none) => doktor5000
Resolution: (none) => INVALID