[Libav-user] segmentation fault on avcodec_decode_video2( ) call

Jason Blum jason.j.blum at gmail.com
Tue Mar 11 05:38:50 CET 2014

> Which leads to my next problem, the error message:
> LD	libavcodec/libavcodec.so.55
> /usr/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: could not read symbols: Bad value
> collect2: error: ld returned 1 exit status
> make: *** [libavcodec/libavcodec.so.55] Error 1

I just noticed the --enabled-pic option. Just tried
./configure --enable-shared --enable-debug --disable-stripping
--disable-static --enable-pic
but still get the same error.

More information about the Libav-user mailing list