[grpc-web] unable to build protoc-gen-grpc-web on macOS

28 views
Skip to first unread message

nathan...@gmail.com

unread,
Nov 9, 2018, 1:01:01 PM11/9/18
to grpc.io
I have been following the grpc-web helloworld example but am stuck when trying to build the protoc-gen-grpc-web plugin on my Mac. Here's what happens:

nmurthy:grpc-web% sudo make install-plugin

Password:

cd "/Users/nmurthy/Workspace/grpc-web"/javascript/net/grpc/web && make install

g++ grpc_generator.o -L/usr/local/lib -lprotoc -lprotobuf -lpthread -ldl -o protoc-gen-grpc-web

ld: library not found for -lprotoc

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[1]: *** [protoc-gen-grpc-web] Error 1

make: *** [install-plugin] Error 2


Wondering how do I properly link this library?

Stanley Cheung

unread,
Nov 12, 2018, 2:00:14 AM11/12/18
to nathan...@gmail.com, grp...@googlegroups.com

--
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+u...@googlegroups.com.
To post to this group, send email to grp...@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/53aa455d-a8ba-4ab1-96e9-d94ae7007d0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages