Would just like to post here some problems and solutions while trying to upgrade ffmpeg-php to 0.6.1 or probably latest SVN.
First problem:
Code:
configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option
I have confirmed that various headers exists under /usr/include/ffmpeg, however they are under their own directories like below:
Code:
[root@zeus ffmpeg]# ls
libavcodec libavdevice libavformat libavutil libpostproc libswscale
Solution: Copy the contents of each directory to the main ffmpeg directory like below:
Code:
[root@zeus ffmpeg]# cp /usr/include/ffmpeg/lib*/* /usr/include/ffmpeg/
Problem #2:
Code:
checking for ffmpeg libavcodec.so... configure: error: ffmpeg share libraries not found. Make sure you've built ffmpeg as shared libs using the --enable-shared option
If you are on 64bit and you are certain the shared lib in question exists under /usr/lib64, you will need to add the directory to /etc/ld.so.conf
Hope this helps anyone and everyone not to lose hairs.