Bug 6800 - OpenCV pkgconfig file provides wrong link arguments
Summary: OpenCV pkgconfig file provides wrong link arguments
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: Junior_job
Depends on:
Blocks:
 
Reported: 2012-07-17 13:37 CEST by Lucien XU
Modified: 2014-04-13 15:03 CEST (History)
2 users (show)

See Also:
Source RPM: opencv-2.4.0-3.mga3.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.