Hi,
I am trying to get protobuf and grpc to get installed in non standard location.
Below is what I do for protobuf and grpc.
protobuf:
./autogen.sh
./configure·--disable-shared·--enable-static·--prefix=$DIR·&&·make·&&·make·install
grpc:
make·prefix=$DIR
make··prefix=$DIR·install
Protobuf is getting installed properly however grpc gives following error.
[GRPC] Generating gRPC's protobuf service CC file from src/proto/grpc/channelz/channelz.proto
grpc/bins/opt/grpc_cpp_plugin: error while loading shared libraries: libprotoc.so.16: cannot open shared object file: No such file or directory
--grpc_out: protoc-gen-grpc: Plugin failed with status code 127.
make: *** [grpc/gens/src/proto/grpc/channelz/
channelz.grpc.pb.cc] Error 1
Has anyone tried this before ?