File esound-biarch.patch of Package esound
--- esddsp.in
+++ esddsp.in
@@ -106,7 +106,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
-LD_PRELOAD="@libdir@/libesddsp.so.@ESD_MAJOR_VERSION@ @libdir@/libesd.so.@ESD_MAJOR_VERSION@ $LD_PRELOAD"
+LD_PRELOAD="${exec_prefix}/\$LIB/libesddsp.so.@ESD_MAJOR_VERSION@ ${exec_prefix}/\$LIB/libesd.so.@ESD_MAJOR_VERSION@ $LD_PRELOAD"
export LD_PRELOAD
# invoke the program with the args given