Article 544DK Error Compiling FFMPEG

Error Compiling FFMPEG

by
tdmsoares
from LinuxQuestions.org on (#544DK)
Trying to make my firefox recognizes some videos, I downloaded ffmpeg 4.2 from the official website. I unpack it and tried to compile. First I entered

Code:./configure --disable-static --enable-nonfree --enable-shared --enable-gpl --enable-version3 --libdir=/usr/local/lib64 --enable-lto --enable-pic -fPICThen I tried:
Code:makeIt was working untill the last lines:
Code:/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: libavcodec/mqc.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
libavcodec/mqc.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
ffbuild/library.mak:102: recipe for target 'libavcodec/libavcodec.so.58' failed
make: *** [libavcodec/libavcodec.so.58] Error 1latest?d=yIl2AUoC8zA latest?i=dx7YMoAgDmw:vcM6UU9rsMU:F7zBnMy latest?i=dx7YMoAgDmw:vcM6UU9rsMU:V_sGLiP latest?d=qj6IDK7rITs latest?i=dx7YMoAgDmw:vcM6UU9rsMU:gIN9vFwdx7YMoAgDmw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments