Open lilong04 opened 4 years ago
kaldi_root which project is it? https://github.com/kaldi-asr/kaldi/tree/master/src don't have lib dir.
That is the correct repo. You must build kaldi first and extend your environment variable LD_LIBRARY_PATH. Be warned: It's not trivial :-)
g++ -pthread -shared -L/root/anaconda3/envs/pykaldienv/lib -B /root/anaconda3/envs/pykaldienv/compiler_compat -Wl,-rpath=/root/anaconda3/envs/pykaldienv/lib,--no-as-needed build/temp.linux-x86_64-3.5/kaldiasr/nnet3.o build/temp.linux-x86_64-3.5/kaldiasr/nnet3_wrappers.o -L/usr/lib64/atlas/ -L/data/app/lilong/kaldi//tools/openfst/lib -L/data/app/lilong/kaldi//src/lib -L/usr/lib64/atlas/ -lsatlas -lkaldi-decoder -lkaldi-lat -lkaldi-fstext -lkaldi-hmm -lkaldi-feat -lkaldi-transform -lkaldi-gmm -lkaldi-tree -lkaldi-util -lkaldi-matrix -lkaldi-base -lkaldi-nnet3 -lkaldi-online2 -lkaldi-cudamatrix -lkaldi-ivector -lfst -lsatlas -o /data/app/lilong/py-kaldi-asr/kaldiasr/nnet3.cpython-35m-x86_64-linux-gnu.so /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lsatlas /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-decoder /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-lat /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-fstext /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-hmm /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-feat /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-transform /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-gmm /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-tree /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-util /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-matrix /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-base /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-nnet3 /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-online2 /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-cudamatrix /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lkaldi-ivector /root/anaconda3/envs/pykaldienv/compiler_compat/ld: cannot find -lsatlas collect2: error: ld returned 1 exit status error: command 'g++' failed with exit status 1 make: *** [kaldiasr/nnet3.so] Error 1
There are no kaldi-*.so files in kaldi root. How to complie. Who can help me!