tensorflow_ros_cpp
tensorflow_ros_cpp copied to clipboard
Error in final linking with Ubuntu 18.04 and Tensorflow 1.14
I am trying to build tensorflow_ros_test on Ubuntu 18.04 and Tensorflow 1.14. I am running into an issue on the final linking:
/home/jseng/.local/lib/python2.7/site-packages/tensorflow/libtensorflow_framework.so.1: error adding symbols: DSO missing from command line
I passed the path of libtensorflow_framework.so.1 to ld, otherwise I got bunch of other linking errors. Any help would be appreciated.
I saw in release notes that there were some bigger changes to the format of the pip packages. I'll try to fix it. If you're faster, please, share your solution.
As a test, I went back to Tensorflow 1.11. I am still getting some linking errors where it cannot find tensorflow functions. Do I still need the -D_GLIBCXX_USE_CXX11_ABI=0 flag?
Probably fixed in 9caf097. Try updating and completely clear your workspace. And yes, you still need to use the approach from kinetic-devel branch of tensorflow_ros_test. That won't change until Google rebuilds TF with newer GCC, which isn't probably going to happen anytime soon.