Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
have you installed the appropriate package to provide this library? –  voretaq7 Oct 19 '12 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 '12 at 18:41

1 Answer 1

up vote 1 down vote accepted

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

HTH

share|improve this answer
    
Thanks! I must have uninstalled, I put it back on and this got me past libswresample -- onto the next problem :) –  sprise Oct 22 '12 at 17:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.