Qihoo360 / tensornet

Apache License 2.0
315 stars 72 forks source link

_pywrap_tn.so: undefined symbol: _ZN10tensorflow8OpKernel11TraceStringEPNS_15OpKernelContextEb #39

Open mafeichao opened 3 years ago

mafeichao commented 3 years ago

_pywrap_tn.so: undefined symbol: _ZN10tensorflow8OpKernel11TraceStringEPNS_15OpKernelContextEb

zhangys-lucky commented 3 years ago

switch -D_GLIBCXX_USE_CXX11_ABI flag to 1 in .bazelrc#L8 and recomplie.

mafeichao commented 3 years ago

[libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/descriptor_database.cc:118] File already exists in database: google/protobuf/any.proto [libprotobuf FATAL external/com_google_protobuf/src/google/protobuf/descriptor.cc:1379] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): Aborted (core dumped) 又出一个新问题,需要在哪改配置,让protobuf静态链接吗?尝试了一下没有成功