FS#34138 - Skype Webcam doesn't start

Attached to Project: Community Packages
Opened by Daniel (osmose) - Monday, 04 March 2013, 04:31 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 05 March 2013, 10:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Florian Pritz (bluewind)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

In /usr/bin/skype there is are some typos, preventing the Webcam from working.

line 6 exports a Variable LD_PRELOAD for the v4l libs.

line 9 overwrites this Variable instead of extending it with the QtWebKit libs.

This results in not loading the v4l libs and in result a non working webcam.


Additional info:
* package version(s) 4.1.20.4
* config and/or log files etc.

normal usage:
$ skype
ERROR: ld.so: object '/usr/share/skype/lib/libQtWebKit.so.4' from LD_PRELOAD cannot be preloaded: ignored.
>> Webcam doesn't work.

workaround usage with v4l1compat:
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so:/usr/share/skype/lib/libQtWebKit.so.4 /usr/lib32/skype/skype
ERROR: ld.so: object '/usr/share/skype/lib/libQtWebKit.so.4' from LD_PRELOAD cannot be preloaded: ignored.
>> Webcam works

workaround usage with v4l2convert:
$ LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so:/usr/share/skype/lib/libQtWebKit.so.4 /usr/lib32/skype/skype
ERROR: ld.so: object '/usr/share/skype/lib/libQtWebKit.so.4' from LD_PRELOAD cannot be preloaded: ignored.
>> Webcam works

without QTWebkit.so.4:
LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so /usr/lib32/skype/skype
>> Webcam works, no Error messages.


and at last:
/usr/lib32/skype/skype
>> Webcam Doesn't work









Steps to reproduce:
This task depends upon

Closed by  Florian Pritz (bluewind)
Tuesday, 05 March 2013, 10:12 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#34106 
Comment by Daniel (osmose) - Monday, 04 March 2013, 18:55 GMT
please change skype-wrapper to this for preventing QtWebKit to overwrite LD_PRELOAD

#!/bin/bash

LIBDIR="@LIBDIR@"

if [[ -e "$LIBDIR/libv4l/v4l2convert.so" ]]; then
export LD_PRELOAD="$LIBDIR/libv4l/v4l2convert.so"
fi

export LD_PRELOAD="${LD_PRELOAD:+$LD_PRELOAD:}${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/usr/share/skype/lib/libQtWebKit.so.4"

exec "$LIBDIR/skype/skype" "$@"

Loading...