LD PRELOAD on zoneminder

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

LD PRELOAD on zoneminder

Post by igormorgado » Fri Jul 24, 2009 4:49 pm

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 » Tue Jul 28, 2009 7:25 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests