Bug#845802: padsp 32 bits application issue on 64 bits system

Felipe Sateler fsateler at debian.org
Wed Nov 30 23:39:36 UTC 2016


Control: forwarded -1 https://lists.freedesktop.org/archives/pulseaudio-discuss/2016-November/027199.html

On 26 November 2016 at 16:58, Nicolas DEFFAYET <nicolas at deffayet.com> wrote:
> Package: pulseaudio-utils
> Version: 5.0-13
> Severity: normal
>
>
> Issue
> -----
>
> padsp provided in pulseaudio-utils:amd64 support only 64 bits
> applications.
>
> 32 bits applications run on 64 bits system (multiarch) fail with:
> ERROR: ld.so: object
> '/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so' from LD_PRELOAD
> cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
>
>
> Where is the bug ?
> ------------------
>
> The bug is due to the fact padsp provided in pulseaudio-utils:amd64
> always load 64 bit version of libpulsedsp.so. This can't work for 32
> bits applications as they require 32 bit version of libpulsedsp.so.
>
>
> How fix the issue ?
> -------------------
>
> # cp /usr/bin/padsp /usr/bin/padsp32
> # sed -i 's/\/usr\/lib\/x86_64-linux-gnu\/pulseaudio\/libpulsedsp.so/ =>
> \/usr\/lib\/i386-linux-gnu\/pulseaudio
> \/libpulsedsp.so/g' /usr/bin/padsp32
>
> /usr/bin/padsp32 must be provided in pulseaudio-utils:amd64 in addition
> of /usr/bin/padsp.
>
> Expected usage is:
> /usr/bin/padsp <path of the 64 bits application>
> /usr/bin/padsp32 <path of the 32 bits application>

A better fix would be to have padsp load the correct library according
to the binary being loaded. Upstream patch proposed at the url above.

I don't think this will be fixed in jessie though. This would be too
intrusive a change.

-- 

Saludos,
Felipe Sateler



More information about the pkg-pulseaudio-devel mailing list