You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot be linked and results in lots of protobuf errors similar to
/usr/bin/ld: CMakeFiles/example.dir/example.o: in function `google::protobuf::Map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, tensorflow::SignatureDef>::Init()':
example.cpp:(.text._ZN6google8protobuf3MapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10tensorflow12SignatureDefEE4InitEv[_ZN6google8protobuf3MapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10tensorflow12SignatureDefEE4InitEv]+0x2ea): undefined reference to `google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned long)'
This is using the floopcz/tensorflow_cc:ubuntu image.
The text was updated successfully, but these errors were encountered:
Yes yes, that is an annoying issue. One solution could be to detect and add the protobuf version that bazel uses as an external dependency as mentioned by @cweigel in #246. Unfortunately, I have not made any attempts to do that yet, if anyone is interested, I would surely accept a PR. 🙂
This issue seems to come up a lot, especially with local builds, but it seems to happen also within the Docker images provided. A simple program like
Cannot be linked and results in lots of protobuf errors similar to
This is using the
floopcz/tensorflow_cc:ubuntu
image.The text was updated successfully, but these errors were encountered: