-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
_resampler.so: undefined symbol #25
Comments
I checked out the 1.1 branch of tensorflow in the one in the sonnet tree, compiled tensorflow from that (which works), then rebuilt sonnet. However I still get the above error for _ZN10tensorflow8internal21checkOpMessageBuilder9NewString. I had the warning mentioned in #16 during build. |
I have the same problem as @thesilencelies. I did a git pull in sonnet/tensorflow after which I followed the sonnet installation instructions, but I still get the _resampler.so: undefined symbol error |
Forget about this. Fixed it by building Sonnet with
I believe the issue was that Tensorflow was being built with GCC 4.x while Sonnet was using the system default which is >= 5. |
I again faced this issue on another machine. I downgraded to Python2.7 and
made a re-installation attempt which seems to have worked. So I would
suggest to check the Python version, seems like Python3 compatibility is
less polished...
Regards,
Ani
…--------------------------"The Answer Lies In The
Genome"--------------------------
On Tue, May 2, 2017 at 12:40 AM, PFCM ***@***.***> wrote:
I'm also getting this as per @thesilencelies
<https://github.com/thesilencelies>. Tried tensorflow 1.1.0, then
1.1.0-rc2 when that didn't work. In both cases ldd on the produced
_resampler.so shows:
linux-vdso.so.1 => (0x00007ffe9c52b000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f87868d3000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f87866b5000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f878632d000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8786116000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8785d4f000)
/lib64/ld-linux-x86-64.so.2 (0x000055b1b0e70000)
ie. it doesn't look as if the op library is being linked to anything
tensorflow related? Using bazel 0.4.5 on ubuntu 17.10 if it helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABT0R8ndLe82tEOetXwxkEBPcMSRtE3ks5r1l9mgaJpZM4NEYT9>
.
|
@animesh I faced the same error and followd your ways , but I still get the _resampler.so: undefined symbol error .I guess that there might some steps were wrong in this process. |
yeah i can imagine, there are many gotchas in setting this beast... for starter, what is your environment like? things like operating system, java, python, tensorflow and bazel versions? are you able to run everything else except sonnet? |
use tensorflow 1.1.0-rc2 replacing the sonnet/tensorflow if 1.1.0-rc2 is used and |
PFCM's solution worked for me. |
@PFCM I f****** love you! |
@PFCM Cool! I have installed sonnet almost 10 times, all failed, untill now. thank you. |
Anyone still having trouble - please see #56 - there are preliminary Wheel files available on PyPI. Please try to install and let us know how you get on. |
faced this error while executing the example code
recompiling the tensorflow to 1.1.0-rc2 and replacing the downloaded sonnet/tensorflow with this one solved the problem :)
The text was updated successfully, but these errors were encountered: