This post describes an error and its solution in ffmpeg make for openCV install. It is based on Osman’s comprehensive troubleshooting of openCV 2.3.1 installing and configuring, but adds an additional error – ‘[libavutil/libavutil.so.51] Error 1‘ and the solution.
This error happens when running ‘make’ command after the ffmpeg configuration. It is a fatal error which directly stops the make process and fails the ffmpeg install.
why ‘[libavutil/libavutil.so.51] Error 1′ happens
Osman’s configurations for ffmpeg install are like this:
This was used in my first ffmpeg install, and was added with another line as:
But the result turned out this error – [libavutil/libavutil.so.51] Error 1
The solution
It was suggested over the internet that this problem was caused by the lack of ‘libvpx’ – this was essential to be used with ‘–enable-shared’.
So, clean the previous make using ‘make clean’ or ‘make distclean’, then re-configure the install as:
Then ‘make’ – bingo~ errors gone!