Page 1 of 1

Fix for 32bit ZM install on Ubuntu 12.04

Posted: Mon Jul 09, 2012 11:57 pm
by linuxsense
I upgraded my ZM box to Ubuntu 12.04 and saw that 1.25 was available in the Ubuntu repo so I installed it, a few usual issues aside it went well. Only major issue I had was that I needed to modify /usr/share/perl5/ZoneMinder/Memory.pm or I was unable to stream video. You need to edit Memory.pm and at line 130 replace:

Code: Select all

our $arch = int(3.2*length(~0));
with

Code: Select all

our $arch = 32;
I am not sure if this is a fatal error in all setups however if you are seeing errors similar to this in syslog the change will make them go away:

Code: Select all

Jul  9 16:56:44 ZM zmwatch[477]: ERR [Shared data size conflict in shared_data for monitor Frontdoor, expected 328, got 316]

Hope this helps someone.