Page 1 of 1

LD PRELOAD on zoneminder

Posted: Fri Jul 24, 2009 4:49 pm
by igormorgado
I have a camera that works fine with cheese and ekiga, but some softwares not aware v4l (as skype) i need to pass:

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

If I dont do that, can see only a black image with some white dots (because it wont decompress the image rightly).

How can I pass (and where) that PRELOAD to zm?

Posted: Tue Jul 28, 2009 7:25 pm
by monex
Hi,

because LD_PRELOAD is an environment variable you hat to set it before you start ZoneMinder. Because ZoneMinder uses wwwrun a user you have to add it for that user. Guess adding it to /etc/profile would do the trick.

Hope this helps