building ffmpeg with --enable-shared

Avatar
  • Answered

hi -

i can build a new ffmpeg no problems but when i try to do one with shared-enabled:

./configure --shared-enabled ;
make;

i get this error (below)

any ideas?

thanks!


# make
LD libavutil/libavutil.so.51
/usr/bin/ld: libavutil/intfloat_readwrite.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libavutil/intfloat_readwrite.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libavutil/libavutil.so.51] Error 1
Avatar
Tim S.
Hi edwardsmarkf,

thanks for posting your question. We're looking into this for you and will post a comment when we have further information.

If you need further assistance please feel free to contact us.

Thanks!

Tim S