Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am running Linux Mint, but i think this issue will be mutual with Ubuntu. My webcam in Skype is upside down (in Cheese it's ok). There are a lot of topics dealing with this coming up with fix like this:

$ LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype

or similar modifications. Unfortunately, I don't have this file.

$ locate v4l1compat.so

outputs only:

/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so

which doesn't work:

$ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so skype
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.

Skype loads, but the webcam is still upside down.

I remember I've read somewhere that I should use 32bit libraries because of skype. But how can I get those? I tried simple copy from another Linux machine, but that unsurprisingly did not help.

share|improve this question

migrated from askubuntu.com Jan 27 '13 at 23:53

This question came from our site for Ubuntu users and developers.

add comment

1 Answer 1

up vote 3 down vote accepted
+50

Dependency search for libv4l-0:i386

$ aptitude why libv4l-0:i386
i   ia32-libs                       Depends  ia32-libs-multiarch       
i A ia32-libs-multiarch:i386        Provides ia32-libs-multiarch
i A ia32-libs-multiarch:i386        Depends  gstreamer0.10-plugins-good:i386
i A gstreamer0.10-plugins-good:i386 Depends  libv4l-0:i386 (>= 0.5.0)

To get libv4l-0:i386

$sudo apt-get install ia32-libs

That will include /usr/lib/i386-linux-gnu/libv4l/v4l1compat.so

share|improve this answer
    
Does this help? –  John Siu Feb 4 '13 at 5:35
    
It did! I am sorry for a late answer. I did exactly what you wrote and the *.so files appeared in the folder. Using the LD_PRELOAD hint now works. Thx –  tsusanka Feb 6 '13 at 11:35
    
+1 for good answer –  RTOSkit Feb 6 '13 at 11:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.