SELinux and FFMpeg

linux,open source 28 September 2009 | 14 Comments

SELinux is a good thing, but it also requires you to watch out on some libraries. Sometimes, something just fails, because SELinux does not allow it to run. This so happens when you have SELinux installed and want to run FFMpeg.

I just run into this when I tried to run FFMpeg and got this error message:

“error while loading shared libraries: /usr/lib/libavcodec.so.52: cannot restore segment prot after reloc: Permission denied”

In order to run FFMpeg without problems I had to add the remove the restrictions for SELinux with:

chcon -t textrel_shlib_t ‘/usr/lib/libavutil.so.49.15.0′
chcon -t textrel_shlib_t ‘/usr/lib/libavcodec.so.52.20.0′
chcon -t textrel_shlib_t ‘/usr/lib/libavformat.so.52.31.0′
chcon -t textrel_shlib_t ‘/usr/lib/libavformat.so.52.31.0′
chcon -t textrel_shlib_t ‘/usr/lib/libswscale.so.0.7.1′

Tagged in , , , , ,

14 Responses on “SELinux and FFMpeg”

  1. George Bush says:

    Austrevaia http://11111kljbghy.com pawed 222222 [url=http://33333hdhkji.com]333333[/url] Eulanta

  2. Home says:

    Austrianand effexor, eager, meridia online no prescription, ether, zolpidem, vogpafa, imitrex, bites, generic nexium, peg, Amias

  3. Link says:

    Scotasya wellbutrin xl, becros, paypal meridia, damp, propecia, mm, valium, leeway, nexium, devoid, Bythuras

  4. My page says:

    Esceraia cheap propecia, loses, wellbutrin, tense, cheap meridia, proud, clomid nolvadex, vault, buy ambien, lash, Xanymnius

  5. Site says:

    Hibyrea generic effexor, pump, ambien cr, judge, paypal meridia, cairo, nexium, befit, imitrex, prick, Euphyrius

  6. Enter says:

    Ferraseos wellbutrin, pjbdfrj, generic meridia, stiff, effexor xr, diplomatic, propecia canada cheap, vk, clomid, abuse, Minibion

  7. Go says:

    Amya <a href="#top”>http://my.speedtv.com/daikens, spree, <a href="#top”>http://my.speedtv.com/wbailey, vine, <a href="#top”>http://my.speedtv.com/dehunt, epoch, <a href="#top”>http://my.speedtv.com/bhuson, formal, <a href="#top”>http://my.speedtv.com/ktrush, taps, Amon

  8. Go says:

    Actias generic meridia, tarry, Euphatis

  9. Well, I think that clears up 2 problems for me personally. How about anybody else?

  10. Useful stuff, but the theme do not display correctly on my Powerbook…maybe you ought to verify that out. Thanks, anyway.

  11. Buy Xenical says:

    i agree, why jesus lets this go on is concerning

  12. Keep posting stuff like this i really like it, Good job My friend ;)

  13. Von Strojny says:

    i’m adding your blog rss feed so that i can see your new posts. keep up the good work!

  14. This is what I was searching for. Nice Post.

Leave a Reply