Summary: | app-emulation/emul-linux-x86-medialibs-20110928 can't load /usr/lib32/libv4l/v4l1compat.so | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | pierre <pierre> |
Component: | Current packages | Assignee: | Alexis Ballier <aballier> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | amd64, media-tv, tetromino |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | libv4l-0.8.5.ebuild with multilib |
Description
pierre
2012-02-05 01:52:30 UTC
Created attachment 300935 [details]
libv4l-0.8.5.ebuild with multilib
here is the modified libv4l-0.8.5.ebuild with multilib enabled
Not sure what is wrong with libv4l as you say also "native" lib is broken :/ there is a new version of libv4l ebuild : media-libs/libv4l-0.8.5-r1 it adds a patch. but it doesn't help... I've also tried to downgrade libv4l to 0.8.4 and 0.8.3 . no luck versions prior to 0.8.1 do not compile with "newer" kernel. they miss a linux/videodev.h file as mention in http://freecode.com/projects/libv4l/releases/330187 I have emailed Hans de Goede ( who owns libv4l git )at he's redhat.com address if he can have a look on that bug. I will report any answer... Pierre, you cannot do "export LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so && skype". This is because Gentoo's /usr/bin/skype is a shell script which on your machine is interpreted by a 64-bit /bin/sh, and 64-bit executables cannot preload 32-bit libraries. Instead, you must create /usr/local/bin/skype so that it looks something like this: #!/bin/sh cd "/opt/skype" if [ -n "/opt/skype" ] ; then if [ "${LD_LIBRARY_PATH+set}" = "set" ] ; then export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/skype" else export LD_LIBRARY_PATH="/opt/skype" fi fi export LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so exec /opt/skype/skype "$@" Then chmod +x /usr/local/bin/skype, and make sure that either /usr/local/bin comes before /usr/bin in your PATH, or that you use the /usr/local/bin version whenever you launch skype. now I really feel stupid... even if my webcam still doesn't work! But At least, I don't have error message... |