Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27837 - Forgotten dependences in opencv

Attached to Project: Arch Linux
Opened by Vande Vyvre (VinsS) - Thursday, 05 January 2012, 13:59 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 07 January 2012, 20:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Opencv need libavcodec.so.53 and libx264.so.119

Additional info:
extra/opencv 2.3.1_a-2

Steps to reproduce:
Open /samples/python2 folder in package and run any script

example:
[vincent@myhost opencv_python]$ python2 demhist.py
Traceback (most recent call last):
File "demhist.py", line 7, in <module>
import cv2.cv as cv
ImportError: libavcodec.so.53: cannot open shared object file: No such file or directory

I've found libavcodec.so.53 in ffmpeg, so, retry:
[vincent@myhost opencv_python]$ python2 demhist.py
Traceback (most recent call last):
File "demhist.py", line 7, in <module>
import cv2.cv as cv
ImportError: libx264.so.119: cannot open shared object file: No such file or directory




This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 07 January 2012, 20:02 GMT
Reason for closing:  Not a bug
Comment by Eric Belanger (Snowman) - Thursday, 05 January 2012, 22:05 GMT
Make sure your system is up-to-date.

$ pacman -Qo /usr/lib/libx264.so.119
/usr/lib/libx264.so.119 is owned by x264 20111030-1
Comment by Vande Vyvre (VinsS) - Saturday, 07 January 2012, 10:40 GMT
Thanks Eric,

after reinstall ffmpeg and x264, that's works.

Loading...