Bugzilla – Bug 140505
esddsp should not use absolute paths to libesddsp.so.0 and libesd.so.0
Last modified: 2006-01-24 18:02:15 UTC
Currently (as with package esound-0.2.36-3 on Suse 10.0), esddsp sets LD_PRELOAD to /usr/lib64/libesddsp.so.0 and /usr/lib64/libesd.so.0. This is bad, since this means that esddsp will not work for 32-bit applications. A better solution is to not use absolute paths. The Fedora package contains a patch that fixes this. I think Suse should use this patch as well. (I think it will be hard to get this patch accepted by the maintainer, since it only works when you are building with a prefix that it's in /etc/ld.so.conf.)
Created attachment 61543 [details] esound-0.2.35-64bit_install.patch from Fedora
Reassigned to maintainer.
aoss use absolute path with $LIB, which is not vulnerable to current directory attack and works on both platforms: LD_PRELOAD="$LD_PRELOAD ${exec_prefix}/\$LIB/libaoss.so" exec "$@" I am not sure, whether $LIB works on all versions of glibc, but in SuSE Linux 10.0 it works.
Added upper mentioned fix and added Suggests: esound-32bit.