FS#42059 - [opencv] Rebuild needed as ffmpeg (libavcodec, libavformat, libavutil) from [testing] updated

Attached to Project: Arch Linux
Opened by Ng Oon-Ee (ngoonee) - Monday, 22 September 2014, 03:40 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 22 September 2014, 06:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ray Rashif (schivmeister)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
ldd /usr/lib/python2.7/site-packages/cv2.so | grep "not found"
libavcodec.so.55 => not found
libavformat.so.55 => not found
libavutil.so.52 => not found
Rebuilding opencv from source works.

Corollary, does opencv then need to depend or optdepend on ffmpeg?

Additional info:
* package version(s)
ffmpeg-1:2.4-2 in [testing]
opencv-2.4.9-4 in [extra]


Steps to reproduce:
I found this while running a python script to access my webcam.
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Monday, 22 September 2014, 06:39 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Monday, 22 September 2014, 03:59 GMT
It's actually /usr/lib/libopencv_highgui.so.2.4.9 that's linked to ffmpeg, but the point stands.

As for the dependency, opencv depends on xine-lib, which depends on ffmpeg, so it's already satisfied.
Comment by Ng Oon-Ee (ngoonee) - Monday, 22 September 2014, 04:27 GMT
Yeah, well, cv2 is the one I found because the python error was when importing cv2 =)
Comment by Doug Newgard (Scimmia) - Monday, 22 September 2014, 04:32 GMT
Yeah, but cv2.so isn't linked to ffmpeg. We see a lot of bug reports where the user uses ldd and thinks the problem is with a certain package when it's actually with something else that they installed from the AUR.

Loading...