I got this when I run conda build conda/:
"google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)", referenced from:
caffe::Datum::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*) in caffe.pb.cc.o
"google::protobuf::internal::StringTypeHandlerBase::Delete(std::string*)", referenced from:
caffe::NetParameter::NetParameter() in caffe.pb.cc.o
caffe::NetParameter::NetParameter(caffe::NetParameter const&) in caffe.pb.cc.o
caffe::NetParameter::~NetParameter() in caffe.pb.cc.o
caffe::SolverParameter::SolverParameter() in caffe.pb.cc.o
caffe::SolverParameter::SolverParameter(caffe::SolverParameter const&) in caffe.pb.cc.o
caffe::SolverParameter::~SolverParameter() in caffe.pb.cc.o
caffe::NetState::NetState() in caffe.pb.cc.o
...
"google::protobuf::DescriptorPool::FindFileByName(std::string const&) const", referenced from:
caffe::protobuf_AssignDesc_caffe_2eproto() in caffe.pb.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I checked my protobuf lib using otool -L /usr/local/lib/libprotobuf.dylib, the output is:
/usr/local/lib/libprotobuf.dylib:
/usr/local/opt/protobuf/lib/libprotobuf.9.dylib (compatibility version 10.0.0, current version 10.1.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
My OS is Mac OS X 10.11.4. So what's the problem? Is some lib linked to libstdc++? How to solve this?
I got this when I run
conda build conda/:I checked my protobuf lib using
otool -L /usr/local/lib/libprotobuf.dylib, the output is:My OS is Mac OS X 10.11.4. So what's the problem? Is some lib linked to
libstdc++? How to solve this?