CS-FreeStyle / 10000-How-To-Do-in-CS

1 stars 0 forks source link

libfdk-aac.arelocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' #105

Open liuty10 opened 4 years ago

liuty10 commented 4 years ago

/usr/bin/ld: /home/ffmpeg_build/lib/libopus.a(celt.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

configure fdk-acc with PIC:


cd ~/ffmpeg_sources
git clone https://github.com/mstorsjo/fdk-aac
cd fdk-aac
autoreconf -fiv
./configure --prefix="$HOME/ffmpeg_build" --disable-shared --with-pic
make -j$(nproc)
make -j$(nproc) install
make -j$(nproc) distclean