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

Tensorflow C++ Python API: undefined symbol: tensorflow::AddControlInput #602

Closed
wumo opened this issue Aug 17, 2018 · 3 comments
Closed

Comments

@wumo
Copy link
Contributor

wumo commented Aug 17, 2018

when using AddControlInput (commit e61ec03) in Ubuntu 16.04, it results in the following error:

/usr/lib/jvm/jdk1.8.0_181/bin/java: symbol lookup error: /home/wumo/.javacpp/cache/tensorflow-1.10.0-1.4.3-20180817.021425-14-linux-x86_64.jar/org/bytedeco/javacpp/linux-x86_64/libjnitensorflow.so: undefined symbol: _ZN10tensorflow15AddControlInputEP8TF_GraphP12TF_OperationS3_

while in windows 10, there is no such error.

@saudet
Copy link
Member

saudet commented Aug 17, 2018

We probably need to enable Python support for the Bazel build as well...

@saudet
Copy link
Member

saudet commented Aug 18, 2018

Ok, I've enabled the Python API for the build with Bazel as well. That symbol now appears in the list, but I haven't tested it...

@wumo
Copy link
Contributor Author

wumo commented Aug 20, 2018

It worked. thx @saudet .

@wumo wumo closed this as completed Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants