
RedHoodJT1988
Distributed Services with Go: protoc command
Title: Distributed Services with Go
Page 32: protoc api/v1/*.proto
–go_out=.
–go_opt=paths=source_relative
–proto_path=.
When I run the above command on macOS 10.13.6 High Sierra, I am running into the error:
protoc-gen-go: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
–go_out: protoc-gen-go: Plugin failed with status code 1.
I am not sure why this isn’t working. I have tried installing the package the way it was suggested earlier in the chapter but that didn’t seem to work. I also tried to install it using the recommended way Go now says which is go get -d name-of-package that also didn’t work.
I am using zsh with oh-my-zshell installed which I haven’t had that cause problems before but wanted to throw it out there. macOS 10.13.6 High Sierra.
Popular Prag Prog topics










Other popular topics










Latest in PragProg
Latest (all)
Categories:
Popular Portals
- /elixir
- /opensuse
- /rust
- /kotlin
- /ruby
- /erlang
- /python
- /clojure
- /react
- /quarkus
- /go
- /vapor
- /react-native
- /v
- /wasm
- /django
- /security
- /nodejs
- /centos
- /rails
- /haskell
- /fable
- /gleam
- /js
- /swift
- /deno
- /tailwind
- /assemblyscript
- /laravel
- /symfony
- /phoenix
- /crystal
- /typescript
- /debian
- /adonisjs
- /julia
- /arch-linux
- /svelte
- /spring
- /c-plus-plus
- /preact
- /flutter
- /actix
- /java
- /angular
- /ocaml
- /zig
- /kubuntu
- /scala
- /zotonic
- /vim
- /rocky
- /lisp
- /keyboards
- /html
- /emacs
- /nim
- /vuejs
- /elm
- /nerves