Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Libav Issue

$
0
0
I am unable to import cv2 in python 3.4 due to the below error, it works fine with Python2.7 and also on my laptop in python3.4 but the server im using gives: Python 3.4.2 (default, Oct 8 2014, 10:45:20) [GCC 4.9.1] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 Traceback (most recent call last): File "", line 1, in ImportError: /opt/local/opencv/3.1/lib/libopencv_videoio.so.3.1: symbol av_image_get_buffer_size, version LIBAVUTIL_54 not defined in file libavutil.so.54 with link time reference I have compiled with ffmpeg on and have the following libav packages installed: ii libavc1394-0:amd64 0.5.4-2 ii libavcodec-dev 6:11.7-1~deb8u1 ii libavcodec56:amd64 6:11.7-1~deb8u1 ii libavformat-dev 6:11.7-1~deb8u1 ii libavformat56:amd64 6:11.7-1~deb8u1 ii libavresample-dev 6:11.7-1~deb8u1 ii libavresample2:amd64 6:11.7-1~deb8u1 ii libavutil-dev 6:11.7-1~deb8u1 ii libavutil54:amd64 6:11.7-1~deb8u1 When I run ldd -r libopencv_videoio.so.3.1 I see the following errors: symbol av_image_get_buffer_size, version LIBAVUTIL_54 not defined in file libavutil.so.54 with link time reference (./libopencv_videoio.so.3.1) symbol avformat_get_mov_video_tags, version LIBAVFORMAT_56 not defined in file libavformat.so.56 with link time reference (./libopencv_videoio.so.3.1) symbol av_image_fill_arrays, version LIBAVUTIL_54 not defined in file libavutil.so.54 with link time reference (./libopencv_videoio.so.3.1) Looks similar to the below however the link to the solution is no longer working: http://answers.opencv.org/question/18461/importerror-lib64libavcodecso54-symbol-avpriv_update_lls-version-libavutil_52-not-defined-in-file-libavutilso52-with-link-time-reference/ Same packages and versions installed on my laptop which is fine, both using Debian Jessie. Any suggestions very welcome! Cheers Sam

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>