Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: kaldi_io/kaldi_io_internal.so: undefined symbol: _ZN5kaldi9SemaphoreD1Ev #8

Open
YichiHuang opened this issue Oct 18, 2017 · 2 comments

Comments

@YichiHuang
Copy link

import kaldi_io
Traceback (most recent call last):
File "", line 1, in
File "kaldi_io/init.py", line 243, in
from kaldi_io_internal import *
ImportError: kaldi_io/kaldi_io_internal.so: undefined symbol: _ZN5kaldi9SemaphoreD1Ev
when I import kaldi_io, I encountered the problem. Could you help me solve it, thank you very much.
I rebuilt the kaldi with configure --share, and I also add the kaldi_io_internal.so to /anaconda3/lib/python3.5/site-packages/

@janchorowski
Copy link
Owner

The library file kaldi_io_internal.so is missing some symbols from Kaldi you either didn't link against the correct Kaldi version, or moved files. BEst is to rebuoild everything, starting with Kaldi with the --shared flag

@Rpersie
Copy link

Rpersie commented Sep 1, 2018

I also meet this problem . Is it solved ? @YichiHuang .
Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants