1

I'm trying to get ffmpeg running on a Centos 6 machine and it has been uphill the whole way. I thought I had got it but when I go to use ffmpeg I get the error:

ffmpeg: error while loading shared libraries: libswresample.so.0: cannot open shared object file: No such file or directory

I looked in /usr/local/lib, which is where all the libraries are stored, and I do not have that exact file but I do have "libswresample.a". I gave up on the official FFMPEG Centos directions due to all kinds of issues and used yum to install.

Where do I find the missing library and can I just put the file in my /usr/local/lib to fix?

Thanks -- have a basic Linux understanding, more familiar with Ubuntu than Centos.

2
  • have you installed the appropriate package to provide this library?
    – voretaq7
    Oct 19, 2012 at 18:33
  • I'm not sure - I installed libtheora, libvorbis, x264, libogg, ffmpeg-devel. Have tried removing and reinstalling each and I can't seem to find out which includes libswresample. It would seem that FFMPEG is supposed to provide it from this post.
    – sprise
    Oct 19, 2012 at 18:41

2 Answers 2

1

A quick search at RPMFIND.net yields ffmpeg-devel.

HTH

1
  • Thanks! I must have uninstalled, I put it back on and this got me past libswresample -- onto the next problem :)
    – sprise
    Oct 22, 2012 at 17:57
0

this may help..

https://github.com/supermasita/ufe/wiki/Installing-FFMPEG-on-CentOS-with-ATRPMS-repo

  1. rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
  2. vim /etc/yum.repos.d/atrpms.repo
1
  • 1
    Although you list the actions they are incomplete by themselves (what to put in the atrpms.repo file for instance?) and also please provide the rationale for your steps in your answer instead of just a link. ServerFault is better with complete answers. Thanks!
    – HBruijn
    Feb 12, 2015 at 7:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .