Error when compiling plugin with ffmpeg

Added by Jeronimo 17 13 days ago

Leaving directory wavpack.
Entering directory ffaudio.
Successfully compiled (plugin).
Successfully compiled (plugin).
/usr/bin/ld: /usr/local/lib/libavcodec.a(vc1dsp_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pw_9' can not be used when making a shared object; recompile con -fPIC
/usr/bin/ld: falló el enlace final: bad value
collect2: error: ld returned 1 exit status
Failed to link!
make[5]: *** [../../] Error 1
make[4]: *** [../../ all] Error 2
make[3]: *** [../ ffaudio] Error 2
make[2]: *** [../ all] Error 2
make[1]: *** [ src] Error 2
make: *** [ all] Error 2
ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --enable-gpl --enable-openssl --enable-libaom --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree

Linux Mint 20.3

Replies (1)

RE: Error when compiling plugin with ffmpeg - Added by John Lindgren 12 days ago

It looks like you're trying to link to a static build of FFmpeg that's installed under /usr/local.

Try uninstalling that version and using the version of FFmpeg provided by Ubuntu instead.