[FFmpeg-user] issues installing ffmpeg php

Arturo Calle arturo.calle at gmail.com
Fri Feb 3 20:24:06 EET 2017


Hello, I need some help to install ffmpeg php, I get this message

configure: "
*error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared
libraries using the --enable-shared option"*
How I can compile ffmpeg with --enable-shared option? I followed this
instructions https://trac.ffmpeg.org/wiki/CompilationGuide/Centos, with
--enable-shared option, but I still getting that message. What I'm missing?
Do you need additional info?

I wrote this: PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
./configure --prefix="$HOME/ffmpeg_build"
--extra-cflags="-I$HOME/ffmpeg_build/include"
--extra-ldflags="-L$HOME/ffmpeg_build/lib -ldl" --bindir="$HOME/bin"
--pkg-config-flags="--static" --enable-gpl --enable-nonfree
--enable-libfdk_aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --enable-shared

PHP 5.4.16
CentOS: centos-release-7-3.1611.el7.centos.x86_64

Best,

Arturo


More information about the ffmpeg-user mailing list