Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

libsound-dev must be installed #50

Open
WaylonWalker opened this issue Dec 3, 2019 · 0 comments
Open

libsound-dev must be installed #50

WaylonWalker opened this issue Dec 3, 2019 · 0 comments

Comments

@WaylonWalker
Copy link

You need: "apt-get install libasound2-dev" before "pip install pocketsphinx".
Other wise you will get "fatal error: alsa/asoundlib.h: No such file or directory".

This should be in the installation instructions or requirements somewhere.

Resolution

apt install libasound2-dev

System information

My system is Windows wsl Debian 9.11 x64
My Python version is 3.6.9
My Pip version is 19.3.1

Error Message

    deps/sphinxbase/src/libsphinxad/ad_alsa.c:76:28: fatal error: alsa/asoundlib.h: No such file or directory
     #include <alsa/asoundlib.h>
                                ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant