Error: ffmpeg headers not found…enable –shared option with FFMPEG
April 10, 2008 | In: FFMPEG
You may receive the below error while installing ffmpeg-php in cPanel servers.
Error you receive……
checking for ffmpeg support… yes, shared
checking for ffmpeg headers… configure: error: ffmpeg headers not
found. Make sure you’ve built ffmpeg as shared libs using the –enable-
shared option
This error is due to the header files are not located in “/usr/local/include/ffmpeg” directory.
1. Check whether “/usr/local/include/ffmpeg” directory is created while installing ffmpeg. If not, create this directory.
mkdir /usr/local/include/ffmpeg
2. Copy the necessary ffmpeg header files to “/usr/local/include/ffmpeg”.
cp -p /usr/local/src/ffmpeg/libavformat/avio.h /usr/local/include/ffmpeg
cp -p /usr/local/src/ffmpeg/libavformat/avformat.h /usr/local/include/ffmpeg
cp -p /usr/local/src/ffmpeg/libavcodec/avcodec.h /usr/local/include/ffmpeg
3. After this you need to install your ffmpeg package again. After installing the ffmpeg, install ffmpeg-php.





1 Response to Error: ffmpeg headers not found…enable –shared option with FFMPEG
Greeluck
May 8th, 2008 at 5:53 pm
thank you, brother