The system I am working with is Debian Jessie (cannot change for now).
I am trying to use a library that requires FFmpeg. When loading the .so it says:
- Code: Select all
error while loading shared libraries: libswscale-ffmpeg.so.3: cannot open shared object file: No such file or directory
It also depends on libavcodec-ffmpeg56, libavformat-ffmpeg56, libswscale-ffmpeg3, and libavutil-ffmpeg54
I added jessie-backports to my sources.list, and installed ffmpeg. This gave me libavcodec.so.57, libavformat.so.57, libswscale.so.4, and libavutil.so.55. All of these versions are one version newer than what I need. Also, the packages don't end in -ffmpeg. I did try to make symbolic links like so:
- Code: Select all
libswscale-ffmpeg.so.3 -> libswscale.so.4
But that, predictably, didn't work.
- Code: Select all
/usr/lib/i386-linux-gnu/libswscale-ffmpeg.so.3: version `LIBSWSCALE_FFMPEG_3' not found (required by /opt/bf/lib/libptgreyvideoencoder.so.1)
I then installed "libswscale3" from the repository and created a symbolic link:
- Code: Select all
sudo ln libswscale.so.3 libswscale-ffmpeg.so.3
With the same results:
- Code: Select all
/usr/lib/i386-linux-gnu/libswscale-ffmpeg.so.3: version `LIBSWSCALE_FFMPEG_3' not found (required by /opt/bf/lib/libptgreyvideoencoder.so.1)
Though, I think this libswscale3 in the repo is not actually from ffmpeg, but libav?
I read through this thread: viewtopic.php?f=6&t=129299&p=621320&hilit=+libswscale+ffmpeg+#p621320
But am still confused about this. Somebody mentioned snapshot.debian.org, but that is not the right way to do it and I should edit out the -ffmpeg dependencies, but I'm not sure how.
Any help on this would be appreciated, Thanks!