K
K
karpo5182017-10-12 18:10:20
linux
karpo518, 2017-10-12 18:10:20

Why doesn't ./configure see ffmpeg when configuring fffmpeg-php?

Writes

configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option

But ffmpeg is compiled as expected with the right option:
ffmpeg version N-87823-gce508f0 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
  configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --pkg-config-flags=--static --enable-shared --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libx264
  libavutil      55. 79.100 / 55. 79.100
  libavcodec     57.108.100 / 57.108.100
  libavformat    57. 84.100 / 57. 8'...

How to fix the problem? I compile ffmpeg on VDS with CENT OS 7 according to the manual firstwiki.ru/index.php/%D0%A3%D1%81%D1%82%D0%B0%D0...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2017-10-13
@jcmvbkbc

ffmpeg headers not found

Install ffmpeg-dev, or as it's called in centos, a development package using ffmpeg.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question