#1108611 pulseaudio-utils: padsp doesn't build LD_PRELOAD properly

Package:
pulseaudio-utils
Source:
pulseaudio-utils
Description:
Command line tools for the PulseAudio sound server
Submitter:
mike
Date:
2025-07-01 12:01:02 UTC
Severity:
normal
#1108611#5
Date:
2025-07-01 11:59:08 UTC
From:
To:
Dear Maintainer,

in /usr/bin/padsp the LIB variable doesn't reach the LD_PRELOAD. it should be \$LIB instead of \\$$LIB

If i'm trying to run it normally i'm getting
padsp ls
ERROR: ld.so: object '/usr/\2290LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

it's in two places here

if [ x"$LD_PRELOAD" = x ] ; then
   LD_PRELOAD="/usr/\\$$LIB/pulseaudio/libpulsedsp.so"
else
   LD_PRELOAD="$LD_PRELOAD /usr/\\$$LIB/pulseaudio/libpulsedsp.so"
fi



*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***