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

undefined symbol: _ZTIN10tensorflow8OpKernelE #14

Open
TenTen-Teng opened this issue Jun 24, 2018 · 7 comments
Open

undefined symbol: _ZTIN10tensorflow8OpKernelE #14

TenTen-Teng opened this issue Jun 24, 2018 · 7 comments

Comments

@TenTen-Teng
Copy link

When I run "./manage.py train exp/sgd pretrain", the error shows:
Traceback (most recent call last):
File "solver.py", line 12, in
import model
File "/home/tengli1107/seglink/seglink/model.py", line 6, in
import ops
File "/home/tengli1107/seglink/seglink/ops.py", line 188, in
oplib = load_oplib(LIB_NAME)
File "/home/tengli1107/seglink/seglink/ops.py", line 22, in load_oplib
oplib = tf.load_op_library(lib_copy_path)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/load_library.py", line 56, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /tmp/lib956d0286_seglink.so: undefined symbol: _ZTIN10tensorflow8OpKernelE

How can I solve this problem? I'm using ubuntu16.04, tensorflow 1.8, gcc 5.4.
I also tried on ubuntu 14.04, still got the same problem.

Thank you

@MatiasKopp
Copy link

Hi, I ran into the same problem yesterday. I solved it by uninstalling tensorflow and reinstalling it at version 1.3 with:
pip install tensorflow==1.3

@TenTen-Teng
Copy link
Author

@MatiasKopp Thank you so much. Your solution works on me. However, after reinstalling tensorflow, there's another error comes up: undefined symbol: _ZN10tensorflow20OpKernelConstruction21CtxFailureWithWarningEPKciRKNS_6StatusE
Do you know how to solve this?

@FakerYFX
Copy link

FakerYFX commented Sep 6, 2018

I meet the same problem: tensorflow.python.framework.errors_impl.NotFoundError: /data/20180809/tmp/libca051180_seglink.so: undefined symbol: _ZTIN10tensorflow8OpKernelE
@bgshih @TenTen-Teng @MatiasKopp

@Bachelorwangwei
Copy link

@MatiasKopp when i reinstall the tensorflow==1.3.0, i meet the same error as @TenTen-Teng
Did you meet this situation and how to solve this problem?

@Shualite
Copy link

yulequan/PU-Net#5 maybe we should recompile the .so file or re-install tensorflow <1.4

@TangLinJie
Copy link

I meet the same error as @TenTen-Teng, I solve this question by using tensorflow-gpu==1.0.0 with python3.5 cudnn5.1 cuda8.0.

@Donaghys
Copy link

请问不更换版本的前提下这个问题如何解决?

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

7 participants