Ffmpeg error while loading shared libraries usr lib libavutilso49¶
# /usr/bin/ffmpeg /usr/bin/ffmpeg: error while loading shared libraries: /usr/lib/libavutil.so.49: cannot restore segment prot after reloc: Permission denied #
'''Solution'''
This error is due to SELinux.
# sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: enforcing Mode from config file: enforcing Policy version: 21 Policy from config file: targeted #
You need to disable Selinux by editing /etc/selinux/config
Find
SELINUX=enforcing
Change it to
SELINUX=disabled
This will disable selinux on next server reboot.
You can disable it for now by running the command
setenforce 0