Problems installing on CentOS 6.2

Forum for questions and support relating to the 1.25.x releases only.
Locked
playcraft
Posts: 1
Joined: Tue Oct 23, 2012 2:00 pm

Problems installing on CentOS 6.2

Post by playcraft »

I am receiving the following error when trying to install ZM on CentOS 6.2

Code: Select all

zm_ffmpeg_camera.o: In function `FfmpegCamera::PrimeCapture()':
zm_ffmpeg_camera.cpp:(.text+0x413): undefined reference to `avformat_open_input'
zm_mpeg.o: In function `VideoStream::SetParameters()':
zm_mpeg.cpp:(.text+0x3e5): undefined reference to `avformat_write_header'
zm_mpeg.o: In function `VideoStream::OpenStream()':
zm_mpeg.cpp:(.text+0x8dc): undefined reference to `avio_open'
zm_mpeg.cpp:(.text+0x995): undefined reference to `avformat_write_header'
zm_mpeg.o: In function `VideoStream::~VideoStream()':
zm_mpeg.cpp:(.text+0xb2e): undefined reference to `avio_close'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/root/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ZoneMinder-1.25.0'
make: *** [all] Error 2

Here's ffmpeg:
ffmpeg -v
ffmpeg version N-45858-gc68a8a1 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 22 2012 16:56:54 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
configuration: --enable-gpl --enable-shared --enable-pthreads
libavutil 51. 77.100 / 51. 77.100
libavcodec 54. 68.100 / 54. 68.100
libavformat 54. 33.100 / 54. 33.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.104 / 3. 20.104
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Problems installing on CentOS 6.2

Post by knight-of-ni »

newer versions of ffmpeg don't play well with zoneminder.
ffmpeg 0.65 from the rpmforge repository works perfectly on centos 6.2 however.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked