Stream: beginners

Topic: Linking Issue


view this post on Zulip Jose Quesada (Mar 01 2022 at 19:38):

I am working on a small example which relies on an external dependency, specifically speech-dispatcher. The program seems to be linking to speech-dispatcher dynamically, but I've never really worked with dynamic libraries in Rust, and am not sure what I'm doing wrong. The project is compiling and building, but when running, I am getting linking errors. Any help would be much appreciated.

view this post on Zulip Jose Quesada (Mar 01 2022 at 19:42):

For additional context, the crate tts relies on speech-dispatcher, however, the documentation only mentions to "install speech-dispatcher libraries", but doesn't mention exactly which ones those are. I have found and installed two; libspeechd-dev and speech-dispatcher. I know speech-dispatcher is configured correctly, as I am able to run spd-say "Something" and it works. Therefore, I cannot conclude if the issue relies on my environment, or the way Rust is linking to those libraries.


Last updated: Jul 05 2025 at 12:14 UTC