Zoneminder
From Amahi Wiki
Zoneminder Tips
If you have issues getting your camera(s) to work, you might need to edit the /usr/bin/zmdc.pl file.
Try to put the following before the my @ daemons = ( line:
$ENV{LD_PRELOAD} = '/usr/lib/libv4l/v4l1compat.so';