FFMPEG : Undefined Reference to x264_Encoder_open_146
July 23 2015
Getting error while installing FFMPEG packages, undefined reference to x264 encoder open 146.
ffmpeg_opt.c:234: warning: ‘allow_unused’ may be used uninitialized in this function
libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_146'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
Find the installed packages and remove it,
remove libx264 by rpm,
you need to ensure the below packages are installed in your system, If you could not found install it.
Then, install x264 devel and x264 package,
Now, download the x264 package by git and install,
Now, you can try to configure the FFMPEG again.