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

Nicolas DEFFAYET nicolas at deffayet.com
Sat Nov 26 19:58:51 UTC 2016


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>


-- 
Nicolas DEFFAYET



More information about the pkg-pulseaudio-devel mailing list