Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410563 - net-im/skype has problems loading 32bit media-plugins/{alsaequal,caps-plugins} from /usr/lib32/ladspa
Summary: net-im/skype has problems loading 32bit media-plugins/{alsaequal,caps-plugins...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 2 votes (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 14:19 UTC by fling
Modified: 2013-01-03 19:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emul-linux-x86-soundlibs-20120127-r1.ebuild.diff (emul-linux-x86-soundlibs-20120127-r1.ebuild.diff,1.22 KB, patch)
2012-04-02 14:25 UTC, fling
Details | Diff
metadata.xml.diff (metadata.xml.diff,489 bytes, patch)
2012-04-02 14:27 UTC, fling
Details | Diff
more complicated ~/.asoundrc example to use with wrapper for 32bit apps (asoundrc,1.34 KB, text/plain)
2012-04-02 14:30 UTC, fling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fling 2012-04-02 14:19:59 UTC
https://jira.skype.com/browse/SCL-810
When clicked Devices tab in Options menu Skype crashes with this error message:
Failed to load plugin "/usr/lib/ladspa/caps.so": /usr/lib/ladspa/caps.so: wrong ELF class: ELFCLASS64
Even if proper /usr/lib32/ladspa/caps.so is installed

Reproducible: Always

Steps to Reproduce:
1. emerge media-plugins/alsaequal
(We will not try to use alsaequal to equalize Skype's output.)
2. Use this as ~/.asoundrc:
# alsaequal is unusable without this (most simple example)
ctl.equal {
	type equal;
}

pcm.plugequal {
	type equal;
	slave.pcm "plug:dmix";
}
(alsaequal is not a Default output!)
3. Start skype and call echo123, then try to change output Device in Options menu.
Actual Results:  
No sound, then crash.

Expected Results:  
Sound exists and no crashes.

We just installed alsaequal and defined it in ~/.asoundrc.
It is not used by default and should not be used by Skype.
But Skype thinks it should evaluate all ALSA entry PCM nodes.

Bug can be fixed in two ways:
1) We use more complicated .asoundrc and start Skype and other 32bit apps with wrapper.
But not everyone uses alsaequal and we can't install wrapper for everyone. And it is weird to start every 32bit app with a wrapper.
2) Dirty fix: we can add "noequal" useflag to remove 32bit alsaequal
Both are just workarounds. Upstream will never fix this :\
Comment 1 fling 2012-04-02 14:25:34 UTC
Created attachment 307495 [details, diff]
emul-linux-x86-soundlibs-20120127-r1.ebuild.diff
Comment 2 fling 2012-04-02 14:27:15 UTC
Created attachment 307497 [details, diff]
metadata.xml.diff
Comment 3 fling 2012-04-02 14:30:17 UTC
Created attachment 307499 [details]
more complicated ~/.asoundrc example to use with wrapper for 32bit apps
Comment 4 Pacho Ramos gentoo-dev 2012-04-03 16:36:41 UTC

*** This bug has been marked as a duplicate of bug 410291 ***
Comment 5 Pacho Ramos gentoo-dev 2012-04-04 15:04:12 UTC
(In reply to comment #0)
> https://jira.skype.com/browse/SCL-810
> When clicked Devices tab in Options menu Skype crashes with this error
> message:
> Failed to load plugin "/usr/lib/ladspa/caps.so": /usr/lib/ladspa/caps.so:
> wrong ELF class: ELFCLASS64
> Even if proper /usr/lib32/ladspa/caps.so is installed
> 

Maybe wrapper skype script is wrong and it should look for /usr/lib32 instead of /usr/lib, otherwise it will find 64 bits libs (that is normal), will reassign to skype maintainers to see how to force 32 bits libs usage
Comment 6 Pacho Ramos gentoo-dev 2013-01-03 19:31:22 UTC
Looks like it works fine with latest emul set and skype-4.1.0.20