Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ImportError: /lib64/libavcodec.so.54: symbol avpriv_update_lls, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference

I have installed OpenCV on Fedora 17, and it gives me this error after i try to import cv2 in Python:

Python 2.7.3 (default, Jul 24 2012, 10:05:38) [GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import cv2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /lib64/libavcodec.so.54: symbol avpriv_update_lls, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference

What this can be about? i installed ffmpeg-devel

ImportError: /lib64/libavcodec.so.54: symbol avpriv_update_lls, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference

I have installed OpenCV on Fedora 17, and it gives me this error after i try to import cv2 in Python:

Python 2.7.3 (default, Jul 24 2012, 10:05:38) [GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import cv2 Traceback (most recent call last): last):
File "<stdin>", line 1, in <module> ImportError: /lib64/libavcodec.so.54: /lib64/libavcodec.so.54: symbol avpriv_update_lls, version version LIBAVUTIL_52 not defined in file file libavutil.so.52 with link time time reference

What this can be about? i installed ffmpeg-devel

ffmpeg version N-55387-ge1a5ee2 Copyright (c) 2000-2013 the FFmpeg developers built on Aug 8 2013 17:48:16 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2) configuration: --enable-shared libavutil 52. 41.100 / 52. 41.100 libavcodec 55. 24.100 / 55. 24.100 libavformat 55. 13.102 / 55. 13.102 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 82.100 / 3. 82.100 libswscale 2. 4.100 / 2. 4.100 libswresample 0. 17.103 / 0. 17.103

ImportError: /lib64/libavcodec.so.54: symbol avpriv_update_lls, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference

I have installed OpenCV on Fedora 17, and it gives me this error after i try to import cv2 in Python:

Python 2.7.3 (default, Jul 24 2012, 10:05:38) [GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information.

>>> import cv2
 Traceback (most recent call last): 
File "<stdin>", line 1, in <module> ImportError: /lib64/libavcodec.so.54: /lib64/libavcodec.so.54: symbol avpriv_update_lls, version version LIBAVUTIL_52 not defined in file file libavutil.so.52 with link time reference

time reference

What this can be about? i installed ffmpeg-devel

ffmpeg version N-55387-ge1a5ee2 Copyright (c) 2000-2013 the FFmpeg developers
 built on Aug  8 2013 17:48:16 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
  configuration: --enable-shared
  libavutil      52. 41.100 / 52. 41.100
  libavcodec     55. 24.100 / 55. 24.100
  libavformat    55. 13.102 / 55. 13.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.100 /  3. 82.100
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103

17.103