python-opencv link error

Asked by ealex

Hello,
I have an issue with python-opencv (with opencv2.3-7 installed)
when i try to import it in python, i have the following error :

>>> import cv2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: libavcodec.so.52: cannot open shared object file: No such file or directory

the result of ldd show the same problem :
ldd /usr/lib/pyshared/python2.7/cv2.so | grep not
 libavcodec.so.52 => not found
 libavformat.so.52 => not found
 libavutil.so.49 => not found
 libswscale.so.0 => not found

Is it a known issue ?
How i can fix this ?

regards,
Alexandre

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu opencv Edit question
Assignee:
No assignee Edit question
Solved by:
ealex
Solved:
Last query:
Last reply:
Revision history for this message
ealex (alexandre-eudes) said :
#1

my mistake, i have a local instalation that cause the problem.