I Installed protobuffer in my solaris 11, Now to generate the addressbook.pb.h and addressbook.pb.cc file i gave given below command
protoc -I=$SRC_DIR --cpp_out=$DST_DIR $SRC_DIR/addressbook.proto
but instead of getting desired file i got given below error:
ld.so.1: protoc: fatal: libstdc++.so.6: version 'GLIBCXX_3.4.20' not found (required by file /export/home/shivamv/Downloads/PROTO_BUFF/protobuf-master/src/.libs/libprotobuf.so.15)
ld.so.1: protoc: fatal: libstdc++.so.6: open failed: No such file or directory
I checked libstdc++.so.6 by given below command:
strings /usr/lib/libstdc++.so.6 | grep GLIBCXX
so i got this output:
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGT
Please help me to resolve this issue :)