NOTE that prior to installing pocketsphinx as described aboveI tried sudo apt-get install pocketsphinx which actually installed the software but it could not find libraries. I then used git clone (as above) and it seems to find libraries and compiled and installed without a problem.
Do you have any suggestions on how to fix this? Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am running Ubuntu 16.04.
I have installed both sphinxbase and pocketsphinx from source
Sphinxbase from git clone https://github.com/cmusphinx/sphinxbase.git
(also added line /usr/local/lib to etc/ld.so.conf and run sudo ldconfig) then installed
Pocketsphinx from git clone https://github.com/cmusphinx/pocketsphinx.git
make check resulted in PASS throughout on both packages.
Whenever I run pocketsphinx_continuous I receive the following error:
bruce@bruce-HP-620:~$ pocketsphinx_continuous -infile audio1.wav -verbose yes
pocketsphinx_continuous: symbol lookup error: /usr/lib/x86_64-linux-gnu/libpocketsphinx.so.3: undefined symbol: err_set_debug_level
NOTE that prior to installing pocketsphinx as described aboveI tried sudo apt-get install pocketsphinx which actually installed the software but it could not find libraries. I then used git clone (as above) and it seems to find libraries and compiled and installed without a problem.
Do you have any suggestions on how to fix this? Thank you.
You need to uninstall system package before installing latest version from github.
You miss LD_LIBRARY_PATH part of the tutorial.