I am trying to dynamically link the grpc greeting_client example. I am 
trying to use the libgrpc++.so, libprotobuf.so.10, 
libgrpc.so.3,libgrpc++_reflection.so.1 files to do the linking.

I have added this files to my /usr/lib directory and now I am trying to 
generate object files for helloworld.pb.cc.

Command I am using is: g++ -Wall -L/usr/lib/libprotobuf.so -c -o 
helloworld.pb.o helloworld.pb.cc -lprotobuf -lgrpc

Error: In file included from helloworld.pb.cc:4:0: helloworld.pb.h:9:42: 
fatal error: google/protobuf/stubs/common.h: No such file or directory 
compilation terminated.

I might be missing something regarding dynamic linking. Can you please 
point out how to dynamically link the grpc libraries for the example?


-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/e18d2e2a-3d2f-4e4d-bf53-59f756602b64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to