Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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: object '/usr/lib/esound/' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: object '' 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.

share|improve this question
up vote 2 down vote accepted

Works for me. If you did not remove Pulseadio (Ubuntu's default audio system and ESD replacement) you may have more success in doing this:

pasdp instead of esddsp:

echo '(SayText "hello world")' | padsp festival --pipe

Pulseaudio's automagic alsa swallower:

festival '(SayText "hello world")'

share|improve this answer
Thank you. I've been trying to fix this issue forever. The first works perfectly. The second sounds tinny and garbled and bypasses my mixer, as I heard it on my laptop's speakers even though I had headphones plugged in. – Cerin Sep 28 '11 at 21:26
You're welcome. Thank you too for bringing this up. I now use festival '(SayText "%t, by %a")' at the gmusicbrowser 'Now playing' plugin at track changes... – aquaherd Sep 28 '11 at 21:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.