On 2011-03-10, [email protected] <[email protected]> wrote:
> From: Liam O'Toole <[email protected]>
> Date: Thu, 10 Mar 2011 20:03:52 +0000 (UTC)
>>      #!/bin/sh
>>      export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
>>      exec /usr/bin/skype
>
> Works perfectly.  Thanks.
>
> For sake of interest, another approach which failed was to list 
> v4l1compat in /etc/modules and invoke /usr/bin/skype in 
> ~/.config/auto*/skype* .
>
> peter@dalton:~$ egrep -v '(^ *#)|(^ *$)' /etc/modules
> loop
> v4l1compat
>
> Why does this fail while use of LD_PRELOAD as above works?  

The problem you were facing was a userspace one, namely, how to force an
executable to load a library that would not otherwise be loaded. That's
what LD_PRELOAD achieves.

I'm not aware of a kernel module named v4l1compat, so I can't see how
explicitly loading such a module would have helped anyway.

-- 
Liam O'Toole
Cork, Ireland


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to