Comment 58 for bug 260918

Revision history for this message
gerstrong (gerstrong) wrote : Re: [Bug 260918] Re: needed: libv4l and associated application patches (or "gspca stopped working in 2.6.27")

Once again, you must check if you have 32-bits or 64-bits. There are two
different versions.

If you have a 64-bit System, you need to create libv4l for 64-bits and
for 32-bits to get all webcam apps working.

If you use skype, even having 64-bit you need to use 32-bit libs. You
must compile libv4l for both to get complete functionality.

So do the following:
1.- download the source-code of libv4l here:
http://people.atrpms.net/~hdegoede/libv4l-0.5.1.tar.gz

2.- Compile the source-code for a 32-bit system and for a 64 bit-system.
More informationm about cross-compiling.
http://ubuntuforums.org/showthread.php?p=5997445

I did it that way for 32-bits:

export CC="gcc -m32"
export LDFLAGS="-L/usr/lib32"
make
sudo make install

After that you compile this for 64-bits

3.- Use the prepatch (ex.: Skype)
export LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so
skype

I hope it helps you out. At least in my case it did. I had the green
bars in skype too, and I solved it this way.

Am Montag, den 20.10.2008, 21:16 +0000 schrieb kmon:
> With libv4l-0_0.5.1-1 from the PPA cheese still doesn't work. Player
> does, as so does ekiga. Anyone knows why my webcam works without the
> libv4l? As I'm guessing any app not using that library is working here
> (mplayer, ekiga 2) but cheese that uses gstreamer doesn't.
>
> The weird thing is that gst-lauch does work first. Then, if I launch
> cheese (which doesn't work) it will stop working also. The gstreamer
> patch is not good enough here.
>