Menu

sphinx_fe: symbol lookup error: sphinx_fe: undefined symbol: err_msg

Help
livien
2015-05-08
2015-06-30
  • livien

    livien - 2015-05-08

    Hi,

    I was trying to adjust acustic model for myself (according to: http://cmusphinx.sourceforge.net/wiki/tutorialadapt), but I have found a big problem. :(

    $ ls -al
    razem 8292
    drwxr-xr-x 3 livien livien 4096 maj 8 22:38 .
    drwxr-xr-x 5 livien livien 4096 maj 8 21:56 ..
    -rw-r--r-- 1 livien livien 251428 maj 8 21:17 arctic_0001.wav
    -rw-r--r-- 1 livien livien 251428 maj 8 21:17 arctic_0002.wav
    -rw-r--r-- 1 livien livien 340628 maj 8 21:18 arctic_0003.wav
    -rw-r--r-- 1 livien livien 243320 maj 8 21:25 arctic_0004.wav
    -rw-r--r-- 1 livien livien 283864 maj 8 21:18 arctic_0005.wav
    -rw-r--r-- 1 livien livien 186556 maj 8 21:19 arctic_0006.wav
    -rw-r--r-- 1 livien livien 202772 maj 8 21:19 arctic_0007.wav
    -rw-r--r-- 1 livien livien 227100 maj 8 21:19 arctic_0008.wav
    -rw-r--r-- 1 livien livien 218992 maj 8 21:25 arctic_0009.wav
    -rw-r--r-- 1 livien livien 283864 maj 8 21:20 arctic_0010.wav
    -rw-r--r-- 1 livien livien 259540 maj 8 21:20 arctic_0011.wav
    -rw-r--r-- 1 livien livien 235212 maj 8 21:20 arctic_0012.wav
    -rw-r--r-- 1 livien livien 267644 maj 8 21:20 arctic_0013.wav
    -rw-r--r-- 1 livien livien 316300 maj 8 21:20 arctic_0014.wav
    -rw-r--r-- 1 livien livien 381176 maj 8 21:21 arctic_0015.wav
    -rw-r--r-- 1 livien livien 267644 maj 8 21:26 arctic_0016.wav
    -rw-r--r-- 1 livien livien 283864 maj 8 21:21 arctic_0017.wav
    -rw-r--r-- 1 livien livien 251428 maj 8 21:21 arctic_0018.wav
    -rw-r--r-- 1 livien livien 216 maj 8 22:38 arctic.fileids
    -rw-r--r-- 1 livien livien 495 maj 8 22:38 arctic.transcription
    -rw-r--r-- 1 livien livien 3245587 maj 8 21:47 cmudict-en-us.dict
    drwx------ 2 livien livien 4096 maj 8 18:03 en-us
    -rw-r--r-- 1 livien livien 417926 mar 18 00:12 en-us.lm.dmp

    $ sphinx_fe -argfile en-us/feat.params -samprate 16000 -c arctic.fileids -di . -do . -ei wav -eo mfc -mswav yes
    INFO: cmd_ln.c(691): Parsing command line:
    sphinx_fe \
    -argfile en-us/feat.params \
    -samprate 16000 \
    -c arctic.fileids \
    -di . \
    -do . \
    -ei wav \
    -eo mfc \
    -mswav yes

    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -alpha 0.97 9.700000e-01
    -argfile en-us/feat.params
    -blocksize 2048 2048
    -build_outdirs yes yes
    -c arctic.fileids
    -cep2spec no no
    -di .
    -dither no no
    -do .
    -doublebw no no
    -ei wav
    -eo mfc
    -example no no
    -frate 100 100
    -help no no
    -i
    -input_endian little little
    -lifter 0 0
    -logspec no no
    -lowerf 133.33334 1.333333e+02
    -mach_endian little little
    -mswav no yes
    -ncep 13 13
    -nchans 1 1
    -nfft 512 512
    -nfilt 40 40
    -nist no no
    -npart 0 0
    -nskip 0 0
    -o
    -ofmt sphinx sphinx
    -part 0 0
    -raw no no
    -remove_dc no no
    -remove_noise yes yes
    -remove_silence yes yes
    -round_filters yes yes
    -runlen -1 -1
    -samprate 16000 1.600000e+04
    -seed -1 -1
    -smoothspec no no
    -spec2cep no no
    -sph2pipe no no
    -transform legacy legacy
    -unit_area yes yes
    -upperf 6855.4976 6.855498e+03
    -vad_postspeech 50 50
    -vad_prespeech 10 10
    -vad_threshold 2.0 2.000000e+00
    -verbose no no
    -warp_params
    -warp_type inverse_linear inverse_linear
    -whichchan 0 0
    -wlen 0.025625 2.562500e-02

    INFO: cmd_ln.c(691): Parsing command line:
    \
    -nfilt 25 \
    -lowerf 130 \
    -upperf 6800 \
    -feat 1s_c_d_dd \
    -svspec 0-12/13-25/26-38 \
    -agc none \
    -cmn current \
    -varnorm no \
    -transform dct \
    -lifter 22 \
    -cmninit 40

    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -alpha 0.97 9.700000e-01
    -argfile en-us/feat.params
    -blocksize 2048 2048
    -build_outdirs yes yes
    -c arctic.fileids
    -cep2spec no no
    -di .
    -dither no no
    -do .
    -doublebw no no
    -ei wav
    -eo mfc
    -example no no
    -frate 100 100
    -help no no
    -i
    -input_endian little little
    -lifter 0 22
    -logspec no no
    -lowerf 133.33334 1.300000e+02
    -mach_endian little little
    -mswav no yes
    -ncep 13 13
    -nchans 1 1
    -nfft 512 512
    -nfilt 40 25
    -nist no no
    -npart 0 0
    -nskip 0 0
    -o
    -ofmt sphinx sphinx
    -part 0 0
    -raw no no
    -remove_dc no no
    -remove_noise yes yes
    -remove_silence yes yes
    -round_filters yes yes
    -runlen -1 -1
    -samprate 16000 1.600000e+04
    -seed -1 -1
    -smoothspec no no
    -spec2cep no no
    -sph2pipe no no
    -transform legacy dct
    -unit_area yes yes
    -upperf 6855.4976 6.800000e+03
    -vad_postspeech 50 50
    -vad_prespeech 10 10
    -vad_threshold 2.0 2.000000e+00
    -verbose no no
    -warp_params
    -warp_type inverse_linear inverse_linear
    -whichchan 0 0
    -wlen 0.025625 2.562500e-02

    sphinx_fe: symbol lookup error: sphinx_fe: undefined symbol: err_msg

     
    • Nickolay V. Shmyrev

      You did not install sphinxbase properly. You have old sphinxbase installation mixed with a new one.

       
  • livien

    livien - 2015-05-08

    How should I remove sphinxbase to be sure, that all parts are deleted?


    edit:
    After reinstall I have following error:
    $ sphinx_fe
    sphinx_fe: error while loading shared libraries: libsphinxbase.so.3: cannot open shared object file: No such file or directory

     

    Last edit: livien 2015-05-08
  • beppe21

    beppe21 - 2015-06-26

    Hi livien, were you able to solve this? I'm having the same problem.

     
  • bekoe

    bekoe - 2015-06-30

    run
    $ ldd path/to/sphinx_fe

    It will show which libraries will be used/loaded when executed. I guess you will have to lookup the missing library and put a link where sphinx_fe looks for it.

     

Log in to post a comment.