
Edit the file /usr/bin/zmdc.pl (#sudo gedit /usr/bin/zmdc.pl)
insert the following line:

$ENV{LD_PRELOAD} = '/usr/lib/libv4l/v4l1compat.so';
this line should be inserted just before the "my @daemons = (" line
just restart zoneminder and it magically works !
