I'm using the Festival speech synthesizer under Ubuntu 10.04 like:
echo '(SayText "hello world")' | esddsp festival --pipe
This works perfectly on 32-bit systems, but on 64-bit machines it's unreliable. Usually, it'll work correctly the first time, and then subsequent calls with sound completely garbled, and I'll get this error:
ERROR: ld.so: object '/usr/lib/esound/libesddsp.so.0' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libesd.so.0' from LD_PRELOAD cannot be preloaded: ignored.
How would I fix this? I've Googled, and it seems this is not a new error, but the problem seems to popup in different distros for different apps, and the solutions are usually convoluted and involve recompiling the entire audio stack.