LD PRELOAD on zoneminder

Support and queries relating to all previous versions of ZoneMinder
Locked
igormorgado
Posts: 3
Joined: Tue Jul 04, 2006 5:23 pm

LD PRELOAD on zoneminder

Post 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?
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post 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
Image
Locked