Writing, publishing, geekdom, and errata.

Fix PADSP to use PulseAudio on 64 bit linux

1 comment
Do you get this error when you try to use padsp with a program that needs it?

ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded: ignored.

Then you're in luck. It's simply a matter of installing the multi-arch capabilities and a copy of padsp to make it work. I used to suggest this solution, but it got clobbered when pulseaudio updated (duh). This way won't, by using multi-arch.

On Debian and Ubuntu (you may need to type sudo in front of each):

dpkg --add-architecture i386
apt-get update
apt-get install libpulse0:i386 libpulsedsp:i386

You should now have this path on your system:

/usr/lib/i386-linux-gnu/pulseaudio/

Then

sudo cp /usr/bin/padsp /usr/bin/padsp_32

Use your favorite text editor (as root!) to edit padsp_32. You will change the two places that say

/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so

to

/usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so

Then just type

padsp_32 /your/program/here

And you're golden again!

1 comment :

Alan said...

PERFECT! This got ColEM working with sound!