Skip to content

Instantly share code, notes, and snippets.

@eriseven
Forked from peterroth/protobuf-250-on-mac.txt
Last active January 19, 2024 10:52
Show Gist options
  • Save eriseven/562d3fe1c58f0275f175bade5595df16 to your computer and use it in GitHub Desktop.
Save eriseven/562d3fe1c58f0275f175bade5595df16 to your computer and use it in GitHub Desktop.
How to install protobuf 2.5.0 on Mac (10.15.7, Catalina). brew required!
brew install automake libtool wget
wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2
tar -xvjf protobuf-2.5.0.tar.bz2
cd protobuf-2.5.0
./autogen.sh
./configure
make; make check
sudo make install
Validate the successful installation:
~/Downloads/protobuf-2.5.0: protoc --version
libprotoc 2.5.0
https://github.com/protocolbuffers/protobuf/issues/8836#issuecomment-892391885
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment