Opened 5 years ago

Closed 5 years ago

#4001 closed defect (invalid)

ffmpeg-php

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

Description

Unable to install ffmpeg-php
ffmpeg source guide: Compile FFmpeg on CentOS 6.x (https://trac.ffmpeg.org/wiki/CompilationGuide/Centos#FFmpeg)

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/libavcodec.so.56
/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/libavcodec.so.56] Error 1

How to solve this?

Thanks

Change History (1)

comment:1 Changed 5 years ago by llogan

  • Resolution set to invalid
  • Status changed from new to closed

This bug tracker is not a help resource. Please see http://ffmpeg.org/contact.html 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.