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

"import warprnnt_tensorflow" got "undefined symbol: _ZN10tensorflow*" error #75

Open
huangzj421 opened this issue Oct 20, 2020 · 2 comments

Comments

@huangzj421
Copy link

I followed the installation of TensorFlow binding for WarpRNNT and finished processing dependencies for warprnnt-tensorflow==0.1. But when I "import warprnnt_tensorflow" to test, I met the following error. Although I "export TF_CXX11_ABI=1" followed by author's answer to baidu-research/warp-ctc#92 and reinstall, the error is still existed. Can anyone solve this? By the way, I used "pip install tensorflow==2.0.0b1" and it works well.
捕获

@li563042811
Copy link

I met the same issue not solve yet. If anybody know how to work well please leave your method. Thank you very much.

@zetryu
Copy link

zetryu commented Oct 6, 2022

I've solved this issue by changing std lib to c++17 (in setup.py) with tensorflow==2.10.0. you may try c++14 if this fails.
extra_compile_args = ['-std=c++17', '-fPIC', '-D_GLIBCXX_USE_CXX11_ABI=' + TF_CXX11_ABI]

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