ImportError: kaldi_io/kaldi_io_internal.so: undefined symbol: _ZN5kaldi9SemaphoreD1Ev
import kaldi_io
Traceback (most recent call last):
File "
Check that you compiled a shared library for kaldi. Try to add it to your LD_LIBRARY_PATH.
ImportError Traceback (most recent call last)
/usr/lib/python2.7/site-packages/kaldi_io/init.py in
ImportError: /usr/lib/python2.7/site-packages/kaldi_io/kaldi_io_internal.so: undefined symbol: _ZN5kaldi9SemaphoreD1Ev
I add the kaldi_io_internal.so to LD_LIBRARY_PATH, but the issue is still.
I can suggest to rebuild kaldi, maybe issue is there. Check if there were errors during the setup of kaldi-python (run it in verbose mode).
I encountered the same problem. I rebuilt the kaldi with configure --share. And I also add the kaldi_io_internal.so to python3.5/site-packages/.