Table of contents

Centos 8 configure ffmpeg ERROR: gmp not found

Linux Dec 09, 2020 Viewed 111 Comments 0


In Centos 8, I download the ffmpeg source.

$ git clone ffmpeg

But when I start to configure, I get the error message saying:

$ cd ffmpeg
$ ./configure --prefix=/opt/ffmpeg --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --enable-libsvtav1 --enable-appkit --enable-avfoundation --enable-coreimage --enable-audiotoolbox
ERROR: gmp not found


It needs to install gmp-devel. Run the following command.

sudo yum install gmp-devel
Updated Dec 09, 2020