The Protobuf-c package contains an implementation of the Google Protocol Buffers data serialization format in C.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.0/protobuf-c-1.5.0.tar.gz
Download MD5 sum: 03030a3994b9f89ef166336048992484
Download size: 496 KB
Estimated disk space required: 60 MB
Estimated build time: 0.6 SBU
First, apply some upstream fixes to make this package compatible with protobuf-26.1:
patch -Np1 -i ../protobuf-c-1.5.0-consolidated_fixes-1.patch
Install Protobuf-c by running the following commands:
./configure --prefix=/usr --disable-static && make
To test the results, issue: make check.
Now, as the root
user:
make install
--disable-static
: This
switch prevents installation of static versions of the libraries.