You are not logged in.
Hi,
I had written a functional Python script on a friend's Macbook, and copied the code over to run on my Linux. I'm getting the error "OSError: libespeak.so.1: cannot open shared object file: No such file or directory"
The "espeak" library got removed from AUR (I went here: https://archlinux.org/packages/communit … 4/espeak/)
I tried to install:
- "espeak-ng" from pacman
- "espeak-ng-espeak" from pacman
- "espeak-ng-espeak-git" using yay
All of which did not resolve the error. I remember encountering this error while running the same script on a Windows WSL Ubuntu, using "sudo apt-get install espeak". Unfortunately, "sudo pacman -S espeak" doesn't work because espeak doesn't exist.
Is there perhaps a post-installation process I'm missing?
Any help would be appreciated.
Offline
with community/espeak-ng-espeak installed, what is the output of pacman -Ql espeak-ng-espeak ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
espeak-ng-espeak /usr/
espeak-ng-espeak /usr/bin/
espeak-ng-espeak /usr/bin/espeak
espeak-ng-espeak /usr/bin/speak
espeak-ng-espeak /usr/include/
espeak-ng-espeak /usr/include/espeak/
espeak-ng-espeak /usr/include/espeak/speak_lib.h
espeak-ng-espeak /usr/share/
espeak-ng-espeak /usr/share/man/
espeak-ng-espeak /usr/share/man/man1/
espeak-ng-espeak /usr/share/man/man1/espeak.1.gz
espeak-ng-espeak /usr/share/man/man1/speak.1.gz
Offline
Shooting from the hip here, but how about python-espeak from the AUR ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
python-espeak brought up three options: 1) espeak-ng-espeak-git 2) espeak-ng-extended-git 3) espeak-test
The first one ran into installation errors and wasn't able to complete. However, the second one, after selecting the option to clean and rebuild all dependencies, worked! My Python code compiles now.
Thanks for the help, ewaller. Appreciate it
Offline