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

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

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

При сборке php-ffmpeg:

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


Решение: скопировать либы от ffmpeg-devel в /usr/include/:

# cp -r /usr/include/ffmpeg/* /usr/include/
Индекс цитирования