티스토리 뷰

tensorflow compile problem 


undefined symbol: _ZTIN10tensorflow8OpKernelE




Sorry about that. The "adding an op" docs are updated at head (and will go live once 1.4 is released), but right now there's a bit of a mismatch. The important bits:

TF_LIB=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_lib())')

And add to the compiler flags:
-L$TF_LIB -ltensorflow_framework

It is also possible to build with --config=monolithic if you want to load custom ops with RTLD_GLOBAL in Python (should work just as it did pre-1.4).


https://github.com/tensorflow/tensorflow/issues/13607

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함