You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/ld: /home/joerg/ffmpeg_build/lib/libswscale.a(swscale.o): warning: relocation against `ff_M24B' in read-only section `.text'
/usr/bin/ld: /home/joerg/ffmpeg_build/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 with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:652: src/core/libffms2.la] Fehler 1
I also tried the option --extra-cflags="-fPIC" instead of --enable-pic while building ffmpeg with the same result. I don't know what to do further. Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered:
Using a static FFmpeg requires passing LDFLAGS="-Wl,-Bsymbolic" when configuring FFMS2.
While this doesn't affect avs2yuv, the issue is that the shared library dependency loop on FFmpeg can cause anything from no status output to a deadlock when opening an FFMS2 (or LSMASHSource) using script in a shared build of FFmpeg. Either you have to corral two separate sets of shared libraries that don't collide with each other, or one can be shared and one static, or both are static (or even the same build).
Hi,
on Ubuntu 22.04 I build ffmpeg using the following commands without error:
Afterwards I tried to build ffms2 using these commands:
This resulted in the following errors:
I also tried the option
--extra-cflags="-fPIC"
instead of--enable-pic
while building ffmpeg with the same result. I don't know what to do further. Any help is greatly appreciated.The text was updated successfully, but these errors were encountered: