Menu

pocketsphinx undefined symbol err_set_debug_level

Bruce Rout
2017-09-10
2017-09-10
  • Bruce Rout

    Bruce Rout - 2017-09-10

    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.

     
    • Nickolay V. Shmyrev

      pocketsphinx_continuous: symbol lookup error: /usr/lib/x86_64-linux-gnu/libpocketsphinx.so.3: undefined symbol: err_set_debug_level

      You need to uninstall system package before installing latest version from github.

      which actually installed the software but it could not find libraries.

      You miss LD_LIBRARY_PATH part of the tutorial.

       

Log in to post a comment.

MongoDB Logo MongoDB