FS#30585 - opencv fails while loading in Python: ImportError: libavcodec.so.54

Attached to Project: Arch Linux
Opened by Juan Manuel (the_phet) - Saturday, 07 July 2012, 12:39 GMT
Last edited by Ray Rashif (schivmeister) - Saturday, 07 July 2012, 19:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ray Rashif (schivmeister)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description: After doing just a pacman -Suy, opencv was updated to opencv-2.4.1-2. Using the Python bindings it fails to load the library:

python2
>>>import cv
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/cv.py", line 1, in <module>
from cv2.cv import *
ImportError: libavcodec.so.54: cannot open shared object file: No such file or directory

This worked just before this update.
This task depends upon

Closed by  Ray Rashif (schivmeister)
Saturday, 07 July 2012, 19:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  opencv 2.4.2 in extra now
Comment by Ionut Biru (wonder) - Saturday, 07 July 2012, 13:12 GMT
the package was moved too early from testing.
Comment by Alex Merry (pippin) - Saturday, 07 July 2012, 13:12 GMT
Downgrading to opencv-2.4.1-1 fixed this.
Comment by Ray Rashif (schivmeister) - Saturday, 07 July 2012, 17:44 GMT
Hey guys sorry for the trouble. As Ionut mentioned the package was accidentally moved from testing. Instead of immediately rebuilding with a release bump we wanted to push the new version of opencv, however there were some difficulties (new opencv moved some dirs around) so the push got delayed. Just hang on it'll come to extra (and a ffmpeg rebuild to testing).

Loading...