unknown protobuf error in caffe installation











up vote
-1
down vote

favorite












I am trying to install caffe on a CUDA7.5, UBUNTU 16.04, OPENCV3.4.0 machine.



But I failed and everytime the error is connected to protobuf



The recent error is as below:




.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int,
std::string const&, google::protobuf::io::Code dOutputStream*)'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string
const&, unsigned char*)' .build_release/lib/libcaffe.so: undefined
reference to
google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*,
std::string*)' .build_release/lib/libcaffe.so: undefined reference to
google::protobuf::Message::GetTypeName() const'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::StringTypeHandlerBase::Delete(std::string*)'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char
const*, void ()(std::string const&))' .build_release/lib/libcaffe.so:
undefined reference to leveldb::DB::Open(leveldb::Options const&,
std::string const&, leveldb::DB**)' .build_release/lib/libcaffe.so:
undefined reference to
google::protobuf::Message::DebugString()
const' .build_release/lib/libcaffe.so: undefined reference to
google::base::CheckOpMessageBuilder::NewString()'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int,
std::string const&, google::protobuf::io::Coded OutputStream
)'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::StringTypeHandlerBase::New()'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::MessageLite::ParseFromString(std::string const&)'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::empty_string_'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor
const*, int)' .build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::WireFormatLite::WriteString(int,
std::string const&, google::protobuf::io::CodedOutputStrea m*)'
.build_release/lib/libcaffe.so: undefined reference to
leveldb::Status::ToString() const' .build_release/lib/libcaffe.so:
undefined reference to
google::protobuf::DescriptorPool::FindFileByName(std::string const&)
const' .build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*,
std::string*)' .build_release/lib/libcaffe.so: undefined reference to
google::protobuf:.build_release/lib/libcaffe.so: undefined reference
to
google::protobuf::internal::WireFormatLite::Wr
iteStringMaybeAliased(int,: std::string const&,
google::protobuf::io::CodedOutputStream*)'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string
const&, unsigned char*)' .build_release/lib/libcaffe.so: undefined
reference to
google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*,
std::string*)' .build_release/lib/libcaffe.so: undefined reference to
google::protobuf::Message::GetTypeName() const'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal:Message::InitializationErrorString:StringTypeHandlerBase::Delete(std::string*)'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char
const*, void (*)(std::string const&))' .build_release/lib/libcaffe.so:
undefined reference to
leveldb::DB::Open(leveldb::Options const&,
std::string const&, leveldb::DB**)' .build_release/lib/libcaffe.so:
undefined reference to google::protobuf::Message::DebugString()
const' .build_release/lib/libcaffe.so: undefined reference to
google::base::CheckOpMessageBuilder::NewString()'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int,
std::string const&, google::protobuf::io::Coded OutputStream*)'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::StringTypeHandlerBase::New()'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::MessageLite::ParseFromString(std::string const&)'
.build_release/lib/libcaffe.so: undefined reference to
google::protobuf::internal::empty_string_'
.build_release/lib/libcaffe.so() : undefined reference to
`google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor
const*, .build_release/toolsconst'int Page down




Here is the result when I use find / -name libproto* 2>/dev/null




/var/lib/dpkg/info/libprotobuf-lite9v5:amd64.list
/var/lib/dpkg/info/libprotobuf9v5:amd64.shlibs
/var/lib/dpkg/info/libprotobuf9v5:amd64.triggers
/var/lib/dpkg/info/libprotobuf-lite9v5:amd64.md5sums
/var/lib/dpkg/info/libprotobuf-lite9v5:amd64.triggers
/var/lib/dpkg/info/libprotobuf-dev:amd64.list
/var/lib/dpkg/info/libprotoc9v5:amd64.triggers
/var/lib/dpkg/info/libprotobuf9v5:amd64.md5sums
/var/lib/dpkg/info/libprotobuf-lite9v5:amd64.shlibs
/var/lib/dpkg/info/libprotobuf-dev:amd64.md5sums
/var/lib/dpkg/info/libprotoc9v5:amd64.md5sums
/var/lib/dpkg/info/libprotobuf9v5:amd64.list
/var/lib/dpkg/info/libprotoc9v5:amd64.shlibs
/var/lib/dpkg/info/libprotoc9v5:amd64.list
/usr/share/doc/libprotobuf9v5 /usr/share/doc/libprotobuf-lite9v5
/usr/share/doc/libprotobuf-dev /usr/share/doc/libprotoc9v5
/usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9
/usr/lib/x86_64-linux-gnu/libprotobuf-lite.so
/usr/lib/x86_64-linux-gnu/libprotoc.so.9.0.1
/usr/lib/x86_64-linux-gnu/libprotobuf.so.9.0.1
/usr/lib/x86_64-linux-gnu/libprotoc.so.9
/usr/lib/x86_64-linux-gnu/libprotobuf-lite.a
/usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1
/usr/lib/x86_64-linux-gnu/libprotobuf.so
/usr/lib/x86_64-linux-gnu/libprotobuf.so.9
/usr/lib/x86_64-linux-gnu/libprotobuf.a
/usr/lib/pulse-8.0/modules/libprotocol-simple.so
/usr/lib/pulse-8.0/modules/libprotocol-native.so
/usr/lib/pulse-8.0/modules/libprotocol-cli.so
/usr/lib/pulse-8.0/modules/libprotocol-http.so
/opt/opencv/release/3rdparty/protobuf/CMakeFiles/libprotobuf.dir
/home/yd2470/opencv-3.4.0/build/3rdparty/protobuf/CMakeFiles/libprotobuf.dir




Is the error related to libprotobuf.dir?










share|improve this question


























    up vote
    -1
    down vote

    favorite












    I am trying to install caffe on a CUDA7.5, UBUNTU 16.04, OPENCV3.4.0 machine.



    But I failed and everytime the error is connected to protobuf



    The recent error is as below:




    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int,
    std::string const&, google::protobuf::io::Code dOutputStream*)'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string
    const&, unsigned char*)' .build_release/lib/libcaffe.so: undefined
    reference to
    google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*,
    std::string*)' .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::Message::GetTypeName() const'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::StringTypeHandlerBase::Delete(std::string*)'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char
    const*, void ()(std::string const&))' .build_release/lib/libcaffe.so:
    undefined reference to leveldb::DB::Open(leveldb::Options const&,
    std::string const&, leveldb::DB**)' .build_release/lib/libcaffe.so:
    undefined reference to
    google::protobuf::Message::DebugString()
    const' .build_release/lib/libcaffe.so: undefined reference to
    google::base::CheckOpMessageBuilder::NewString()'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int,
    std::string const&, google::protobuf::io::Coded OutputStream
    )'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::StringTypeHandlerBase::New()'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::MessageLite::ParseFromString(std::string const&)'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::empty_string_'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor
    const*, int)' .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::WireFormatLite::WriteString(int,
    std::string const&, google::protobuf::io::CodedOutputStrea m*)'
    .build_release/lib/libcaffe.so: undefined reference to
    leveldb::Status::ToString() const' .build_release/lib/libcaffe.so:
    undefined reference to
    google::protobuf::DescriptorPool::FindFileByName(std::string const&)
    const' .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*,
    std::string*)' .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf:.build_release/lib/libcaffe.so: undefined reference
    to
    google::protobuf::internal::WireFormatLite::Wr
    iteStringMaybeAliased(int,: std::string const&,
    google::protobuf::io::CodedOutputStream*)'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string
    const&, unsigned char*)' .build_release/lib/libcaffe.so: undefined
    reference to
    google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*,
    std::string*)' .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::Message::GetTypeName() const'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal:Message::InitializationErrorString:StringTypeHandlerBase::Delete(std::string*)'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char
    const*, void (*)(std::string const&))' .build_release/lib/libcaffe.so:
    undefined reference to
    leveldb::DB::Open(leveldb::Options const&,
    std::string const&, leveldb::DB**)' .build_release/lib/libcaffe.so:
    undefined reference to google::protobuf::Message::DebugString()
    const' .build_release/lib/libcaffe.so: undefined reference to
    google::base::CheckOpMessageBuilder::NewString()'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int,
    std::string const&, google::protobuf::io::Coded OutputStream*)'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::StringTypeHandlerBase::New()'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::MessageLite::ParseFromString(std::string const&)'
    .build_release/lib/libcaffe.so: undefined reference to
    google::protobuf::internal::empty_string_'
    .build_release/lib/libcaffe.so() : undefined reference to
    `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor
    const*, .build_release/toolsconst'int Page down




    Here is the result when I use find / -name libproto* 2>/dev/null




    /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.list
    /var/lib/dpkg/info/libprotobuf9v5:amd64.shlibs
    /var/lib/dpkg/info/libprotobuf9v5:amd64.triggers
    /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.md5sums
    /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.triggers
    /var/lib/dpkg/info/libprotobuf-dev:amd64.list
    /var/lib/dpkg/info/libprotoc9v5:amd64.triggers
    /var/lib/dpkg/info/libprotobuf9v5:amd64.md5sums
    /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.shlibs
    /var/lib/dpkg/info/libprotobuf-dev:amd64.md5sums
    /var/lib/dpkg/info/libprotoc9v5:amd64.md5sums
    /var/lib/dpkg/info/libprotobuf9v5:amd64.list
    /var/lib/dpkg/info/libprotoc9v5:amd64.shlibs
    /var/lib/dpkg/info/libprotoc9v5:amd64.list
    /usr/share/doc/libprotobuf9v5 /usr/share/doc/libprotobuf-lite9v5
    /usr/share/doc/libprotobuf-dev /usr/share/doc/libprotoc9v5
    /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9
    /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so
    /usr/lib/x86_64-linux-gnu/libprotoc.so.9.0.1
    /usr/lib/x86_64-linux-gnu/libprotobuf.so.9.0.1
    /usr/lib/x86_64-linux-gnu/libprotoc.so.9
    /usr/lib/x86_64-linux-gnu/libprotobuf-lite.a
    /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1
    /usr/lib/x86_64-linux-gnu/libprotobuf.so
    /usr/lib/x86_64-linux-gnu/libprotobuf.so.9
    /usr/lib/x86_64-linux-gnu/libprotobuf.a
    /usr/lib/pulse-8.0/modules/libprotocol-simple.so
    /usr/lib/pulse-8.0/modules/libprotocol-native.so
    /usr/lib/pulse-8.0/modules/libprotocol-cli.so
    /usr/lib/pulse-8.0/modules/libprotocol-http.so
    /opt/opencv/release/3rdparty/protobuf/CMakeFiles/libprotobuf.dir
    /home/yd2470/opencv-3.4.0/build/3rdparty/protobuf/CMakeFiles/libprotobuf.dir




    Is the error related to libprotobuf.dir?










    share|improve this question
























      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      I am trying to install caffe on a CUDA7.5, UBUNTU 16.04, OPENCV3.4.0 machine.



      But I failed and everytime the error is connected to protobuf



      The recent error is as below:




      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int,
      std::string const&, google::protobuf::io::Code dOutputStream*)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string
      const&, unsigned char*)' .build_release/lib/libcaffe.so: undefined
      reference to
      google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*,
      std::string*)' .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::Message::GetTypeName() const'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::StringTypeHandlerBase::Delete(std::string*)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char
      const*, void ()(std::string const&))' .build_release/lib/libcaffe.so:
      undefined reference to leveldb::DB::Open(leveldb::Options const&,
      std::string const&, leveldb::DB**)' .build_release/lib/libcaffe.so:
      undefined reference to
      google::protobuf::Message::DebugString()
      const' .build_release/lib/libcaffe.so: undefined reference to
      google::base::CheckOpMessageBuilder::NewString()'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int,
      std::string const&, google::protobuf::io::Coded OutputStream
      )'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::StringTypeHandlerBase::New()'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::MessageLite::ParseFromString(std::string const&)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::empty_string_'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor
      const*, int)' .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::WireFormatLite::WriteString(int,
      std::string const&, google::protobuf::io::CodedOutputStrea m*)'
      .build_release/lib/libcaffe.so: undefined reference to
      leveldb::Status::ToString() const' .build_release/lib/libcaffe.so:
      undefined reference to
      google::protobuf::DescriptorPool::FindFileByName(std::string const&)
      const' .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*,
      std::string*)' .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf:.build_release/lib/libcaffe.so: undefined reference
      to
      google::protobuf::internal::WireFormatLite::Wr
      iteStringMaybeAliased(int,: std::string const&,
      google::protobuf::io::CodedOutputStream*)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string
      const&, unsigned char*)' .build_release/lib/libcaffe.so: undefined
      reference to
      google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*,
      std::string*)' .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::Message::GetTypeName() const'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal:Message::InitializationErrorString:StringTypeHandlerBase::Delete(std::string*)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char
      const*, void (*)(std::string const&))' .build_release/lib/libcaffe.so:
      undefined reference to
      leveldb::DB::Open(leveldb::Options const&,
      std::string const&, leveldb::DB**)' .build_release/lib/libcaffe.so:
      undefined reference to google::protobuf::Message::DebugString()
      const' .build_release/lib/libcaffe.so: undefined reference to
      google::base::CheckOpMessageBuilder::NewString()'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int,
      std::string const&, google::protobuf::io::Coded OutputStream*)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::StringTypeHandlerBase::New()'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::MessageLite::ParseFromString(std::string const&)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::empty_string_'
      .build_release/lib/libcaffe.so() : undefined reference to
      `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor
      const*, .build_release/toolsconst'int Page down




      Here is the result when I use find / -name libproto* 2>/dev/null




      /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.list
      /var/lib/dpkg/info/libprotobuf9v5:amd64.shlibs
      /var/lib/dpkg/info/libprotobuf9v5:amd64.triggers
      /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.md5sums
      /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.triggers
      /var/lib/dpkg/info/libprotobuf-dev:amd64.list
      /var/lib/dpkg/info/libprotoc9v5:amd64.triggers
      /var/lib/dpkg/info/libprotobuf9v5:amd64.md5sums
      /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.shlibs
      /var/lib/dpkg/info/libprotobuf-dev:amd64.md5sums
      /var/lib/dpkg/info/libprotoc9v5:amd64.md5sums
      /var/lib/dpkg/info/libprotobuf9v5:amd64.list
      /var/lib/dpkg/info/libprotoc9v5:amd64.shlibs
      /var/lib/dpkg/info/libprotoc9v5:amd64.list
      /usr/share/doc/libprotobuf9v5 /usr/share/doc/libprotobuf-lite9v5
      /usr/share/doc/libprotobuf-dev /usr/share/doc/libprotoc9v5
      /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9
      /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so
      /usr/lib/x86_64-linux-gnu/libprotoc.so.9.0.1
      /usr/lib/x86_64-linux-gnu/libprotobuf.so.9.0.1
      /usr/lib/x86_64-linux-gnu/libprotoc.so.9
      /usr/lib/x86_64-linux-gnu/libprotobuf-lite.a
      /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1
      /usr/lib/x86_64-linux-gnu/libprotobuf.so
      /usr/lib/x86_64-linux-gnu/libprotobuf.so.9
      /usr/lib/x86_64-linux-gnu/libprotobuf.a
      /usr/lib/pulse-8.0/modules/libprotocol-simple.so
      /usr/lib/pulse-8.0/modules/libprotocol-native.so
      /usr/lib/pulse-8.0/modules/libprotocol-cli.so
      /usr/lib/pulse-8.0/modules/libprotocol-http.so
      /opt/opencv/release/3rdparty/protobuf/CMakeFiles/libprotobuf.dir
      /home/yd2470/opencv-3.4.0/build/3rdparty/protobuf/CMakeFiles/libprotobuf.dir




      Is the error related to libprotobuf.dir?










      share|improve this question













      I am trying to install caffe on a CUDA7.5, UBUNTU 16.04, OPENCV3.4.0 machine.



      But I failed and everytime the error is connected to protobuf



      The recent error is as below:




      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int,
      std::string const&, google::protobuf::io::Code dOutputStream*)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string
      const&, unsigned char*)' .build_release/lib/libcaffe.so: undefined
      reference to
      google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*,
      std::string*)' .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::Message::GetTypeName() const'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::StringTypeHandlerBase::Delete(std::string*)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char
      const*, void ()(std::string const&))' .build_release/lib/libcaffe.so:
      undefined reference to leveldb::DB::Open(leveldb::Options const&,
      std::string const&, leveldb::DB**)' .build_release/lib/libcaffe.so:
      undefined reference to
      google::protobuf::Message::DebugString()
      const' .build_release/lib/libcaffe.so: undefined reference to
      google::base::CheckOpMessageBuilder::NewString()'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int,
      std::string const&, google::protobuf::io::Coded OutputStream
      )'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::StringTypeHandlerBase::New()'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::MessageLite::ParseFromString(std::string const&)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::empty_string_'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor
      const*, int)' .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::WireFormatLite::WriteString(int,
      std::string const&, google::protobuf::io::CodedOutputStrea m*)'
      .build_release/lib/libcaffe.so: undefined reference to
      leveldb::Status::ToString() const' .build_release/lib/libcaffe.so:
      undefined reference to
      google::protobuf::DescriptorPool::FindFileByName(std::string const&)
      const' .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*,
      std::string*)' .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf:.build_release/lib/libcaffe.so: undefined reference
      to
      google::protobuf::internal::WireFormatLite::Wr
      iteStringMaybeAliased(int,: std::string const&,
      google::protobuf::io::CodedOutputStream*)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string
      const&, unsigned char*)' .build_release/lib/libcaffe.so: undefined
      reference to
      google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*,
      std::string*)' .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::Message::GetTypeName() const'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal:Message::InitializationErrorString:StringTypeHandlerBase::Delete(std::string*)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char
      const*, void (*)(std::string const&))' .build_release/lib/libcaffe.so:
      undefined reference to
      leveldb::DB::Open(leveldb::Options const&,
      std::string const&, leveldb::DB**)' .build_release/lib/libcaffe.so:
      undefined reference to google::protobuf::Message::DebugString()
      const' .build_release/lib/libcaffe.so: undefined reference to
      google::base::CheckOpMessageBuilder::NewString()'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int,
      std::string const&, google::protobuf::io::Coded OutputStream*)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::StringTypeHandlerBase::New()'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::MessageLite::ParseFromString(std::string const&)'
      .build_release/lib/libcaffe.so: undefined reference to
      google::protobuf::internal::empty_string_'
      .build_release/lib/libcaffe.so() : undefined reference to
      `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor
      const*, .build_release/toolsconst'int Page down




      Here is the result when I use find / -name libproto* 2>/dev/null




      /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.list
      /var/lib/dpkg/info/libprotobuf9v5:amd64.shlibs
      /var/lib/dpkg/info/libprotobuf9v5:amd64.triggers
      /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.md5sums
      /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.triggers
      /var/lib/dpkg/info/libprotobuf-dev:amd64.list
      /var/lib/dpkg/info/libprotoc9v5:amd64.triggers
      /var/lib/dpkg/info/libprotobuf9v5:amd64.md5sums
      /var/lib/dpkg/info/libprotobuf-lite9v5:amd64.shlibs
      /var/lib/dpkg/info/libprotobuf-dev:amd64.md5sums
      /var/lib/dpkg/info/libprotoc9v5:amd64.md5sums
      /var/lib/dpkg/info/libprotobuf9v5:amd64.list
      /var/lib/dpkg/info/libprotoc9v5:amd64.shlibs
      /var/lib/dpkg/info/libprotoc9v5:amd64.list
      /usr/share/doc/libprotobuf9v5 /usr/share/doc/libprotobuf-lite9v5
      /usr/share/doc/libprotobuf-dev /usr/share/doc/libprotoc9v5
      /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9
      /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so
      /usr/lib/x86_64-linux-gnu/libprotoc.so.9.0.1
      /usr/lib/x86_64-linux-gnu/libprotobuf.so.9.0.1
      /usr/lib/x86_64-linux-gnu/libprotoc.so.9
      /usr/lib/x86_64-linux-gnu/libprotobuf-lite.a
      /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1
      /usr/lib/x86_64-linux-gnu/libprotobuf.so
      /usr/lib/x86_64-linux-gnu/libprotobuf.so.9
      /usr/lib/x86_64-linux-gnu/libprotobuf.a
      /usr/lib/pulse-8.0/modules/libprotocol-simple.so
      /usr/lib/pulse-8.0/modules/libprotocol-native.so
      /usr/lib/pulse-8.0/modules/libprotocol-cli.so
      /usr/lib/pulse-8.0/modules/libprotocol-http.so
      /opt/opencv/release/3rdparty/protobuf/CMakeFiles/libprotobuf.dir
      /home/yd2470/opencv-3.4.0/build/3rdparty/protobuf/CMakeFiles/libprotobuf.dir




      Is the error related to libprotobuf.dir?







      c++ linux caffe






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 12 at 2:22









      exteralvictor

      185114




      185114





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255249%2funknown-protobuf-error-in-caffe-installation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255249%2funknown-protobuf-error-in-caffe-installation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Xamarin.iOS Cant Deploy on Iphone

          Glorious Revolution

          Dulmage-Mendelsohn matrix decomposition in Python