-
Notifications
You must be signed in to change notification settings - Fork 74k
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
Python import error, undefined symbol: _Z14tf_git_versionv #5295
Comments
Can you attach the copy of:
Did you build this yourself or did you download a binary distribution? |
I am suspecting that this is an older version of the so file, and since we introduced the |
I built this myself with this commit: Yes, TF version is r0.10. This is part of the logs with nm /usr/.../_pywrap_tensorflow.so 0000000006e4b078 b g_initializations |
Can you check the dates on the so file and the python file? Are you using virtualenv? |
No I'm not using virtualenv. $ ls -alh /usr/local/lib/python2.7/dist-packages/tensorflow/python/_pywrap_tensorflow.so $ ls -al /usr/bin/python ls -al /usr/bin/python2.7 Actually, I just reproduced build procedures that I've already been through before. |
OK, it looks recent enough. |
The nm output is too big (24 mb txt file) Is there any specific lines you want to check? |
Is this related to gcc version ? or c++ mingling? |
Yes, it shows as U, which means undefined. I'd need to check later, but I'm guessing that the script failed to define the symbol. Could you bazel clean, to be sure? See what happens to the |
Ok, Thanks, I'm rebuilding after bazel clean now. Let me check the path and the file then will let you know. |
I can't find version_info.cc file, neither util dir. :( |
Do you have this?
What does
say? |
I'd also try to upgrade to 0.11 -- I believe there might have been some git_version issues in 0.10 that have been long since fixed. |
I built tensorflow r0.10 on aarch64 with my own patch. In the patch, Thank you for your help! |
@jart FYI |
NOTE: Only file GitHub issues for bugs and feature requests. All other topics will be closed.
Environment info
Operating System: Ubuntu16.04
Installed version of CUDA and cuDNN: 8.0 and 5
Python 2.7.12 (default, Jul 1 2016, 15:12:24)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
I'm getting this error above with r0.10, can you please give me some insights or solutions to this?
Thanks
The text was updated successfully, but these errors were encountered: