Opened 8 years ago

Closed 8 years ago

#4001 closed defect (invalid)


Reported by: Fernando Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Unable to install ffmpeg-php
ffmpeg source guide: Compile FFmpeg on CentOS 6.x (

Error compiling ffmpeg with x264 --enable-shared:
CC libavcodec/libx264.o
libavcodec/libx264.c: In function âX264_initâ:
libavcodec/libx264.c:653: warning: the address of âvalâ will always evaluate as âtrueâ
LD libavcodec/
/usr/bin/ld: /ffmpeg_build/lib/libvpx.a(vpx_codec.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/ffmpeg_build/lib/libvpx.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: * [libavcodec/] Error 1

How to solve this?


Change History (1)

comment:1 by llogan, 8 years ago

Resolution: invalid
Status: newclosed

This bug tracker is not a help resource. Please see for links to official help resources.

The FFmpeg project has nothing to do with ffmpeg-php.

I'm guessing you forgot to also add --enable-shared to libvpx if you want shared.

Note: See TracTickets for help on using tickets.