bad environment variable in padsp script

Bug #2068940 reported by Stephen Isard
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)

Bug Description

On jammy 22.04 LTS. I need padsp for an old program that writes to /dev/dsp. The /usr/bin/padsp script from pulseaudio-utils 1:15.99.1+dfsg1-1ubuntu2.2 has the lines
if [ x"$LD_PRELOAD" = x ] ; then
   LD_PRELOAD="$LD_PRELOAD /usr/\\$$LIB/pulseaudio/"
I don't know where it is supposed to be picking up a value for $LIB, but it isn't working. I get an error message: object '/usr/\788488LIB/pulseaudio/' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
The libpulsedsp 1:15.99.1+dfsg1-1ubuntu2.2 package put in /usr/lib/x86_64-linux-gnu/pulseaudio and if I edit that into the script in place of the call to $LIB, everything works. So I think it is just a problem with the use of LIB in the script.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.