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

tf_nndistance_so.so: undefined symbo when running demo.py #31

Open
tsbiosky opened this issue Aug 23, 2019 · 6 comments
Open

tf_nndistance_so.so: undefined symbo when running demo.py #31

tsbiosky opened this issue Aug 23, 2019 · 6 comments

Comments

@tsbiosky
Copy link

I'm using CUDA10.0 tensorflow 1.13 and python 3.7
and compile of pc_distance is successful but when I run demo.py

tensorflow.python.framework.errors_impl.NotFoundError: /media/roman/storage/pcn/pc_distance/tf_nndistance_so.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv

is there anything to be change in makefile of pc_distence ?

@wentaoyuan
Copy link
Owner

Did you modify the paths in makefile from cuda9.0 to cuda10.0? This TF issue may be related.

@hualalala7458
Copy link

@tsbiosky I met the same problem, did you solve it?

@760146355
Copy link

i also met this problem, did you solve it?

@MiaoDX
Copy link

MiaoDX commented Dec 20, 2019

Hi,

This is tf/gcc/g++ version problem, see tensorflow/issues/9137#issuecomment-294097780 for more discussion.

At first my tf is 1.9.x, remove -D_GLIBCXX_USE_CXX11_ABI=0 in the makefile this error is gone, however, AttributeError: module 'tensorflow.contrib.layers' has no attribute 'conv1d' shows up as the tf version is too low.

Tried update to 1.12.0 as suggested, and un-remove -D_GLIBCXX_USE_CXX11_ABI=0 , currently, all things are good.

Good luck.

@jousefm
Copy link

jousefm commented Oct 21, 2020

Still not solved the issue for me. Could you elaborate on what you optimized after removing -D_GLIBCXX_USE_CXX11_ABI=0?

@pranaava
Copy link

pranaava commented Feb 9, 2021

Still not solved the issue for me. Could you elaborate on what you optimized after removing -D_GLIBCXX_USE_CXX11_ABI=0?

Try installing tensorflow with pip or update your c++ version to be 5.0 or above, worked for me.

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