#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 9. General Libraries

- Prev

  Protobuf-29.3

- Next

  Qca-2.3.9

- Up
- Home

# Protobuf-c-1.5.1

## Introduction to Protobuf-c

The Protobuf-c package contains an implementation of the Google Protocol Buffers data serialization format in C.

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- Download (HTTP): https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.1/protobuf-c-1.5.1.tar.gz

- Download MD5 sum: 0c02b1bb2b20bb9fc3489fe9e3df354b

- Download size: 520 KB

- Estimated disk space required: 53 MB

- Estimated build time: 0.5 SBU

### Protobuf-c Dependencies

#### Required

Protobuf-29.3

#### Optional

Doxygen-1.13.2

## Installation of Protobuf-c

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

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: protoc-gen-c and protoc-c (symlinked to protoc-gen-c)
Installed Libraries: libprotobuf-c.so
Installed Directories: /usr/include/google and /usr/include/protobuf-c

### Short Descriptions

protoc-c | generates C descriptor code from a .proto file
`libprotobuf-c.so` | contains a C implementation of the Google Protocol Buffers data serialization format

- Prev

  Protobuf-29.3

- Next

  Qca-2.3.9

- Up
- Home