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

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Ошибка при ./configure:

checking for ffmpeg headers... ...found in /usr/local/include
checking for ffmpeg libavcodec.so...
configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option


Solution:

root@host [~/ffmpeg-php]# ls /usr/local/cpffmpeg/
./  ../  bin/  build/  etc/  include/  lib/  man/  share/
root@host [~/ffmpeg-php]# ./configure --with-ffmpeg=/usr/local/cpffmpeg