Page 1 of 1

During 'Make':undefined reference to `avcodec_encode_video2'

Posted: Thu Oct 03, 2013 8:52 am
by jarlel
Hi, I'm trying to build ZM but get an issue with undefined reference to `avcodec_encode_video2'.

It seems to be related to the libavcodec version. I see somewhere that `avcodec_encode_video2' is only available in libavcodec54.

Does anybody know how to solve this?

Cheers,
Jarle

Re: During 'Make':undefined reference to `avcodec_encode_vid

Posted: Thu Oct 03, 2013 6:21 pm
by windracer
I replied in the other thread but my problem was that I was using static libraries with my custom ffmpeg compile. I removed everything and then rebuilt ffmpeg from scratch using the shared library configuration instead and that got me past that error. The problem was apparently an old library file hanging out somewhere that was causing a problem with the zoneminder compile.